Multi enhancements, including auto serialization, product editing
This commit is contained in:
@@ -16,7 +16,7 @@ class lnApp_Table {
|
||||
if (is_array($d) AND isset($d[$key]))
|
||||
$x = $d[$key];
|
||||
// If the key is a method, we need to eval it
|
||||
elseif (preg_match('/\(/',$key))
|
||||
elseif (preg_match('/\(/',$key) OR preg_match('/-\>/',$key))
|
||||
eval("\$x = \$d->$key;");
|
||||
elseif (preg_match('/^__VALUE__$/',$key))
|
||||
$x = $d;
|
||||
|
Reference in New Issue
Block a user