Adding a new valid syntax for expression in fields with PDO datasources #491

wants to merge 2 commits into

3 participants


No description provided.

@gwoo gwoo and 1 other commented on an outdated diff May 26, 2012
@@ -713,6 +713,9 @@ public function fields($fields, $context) {
case is_array($item):
$toMerge[$name] = $item;
+ case is_object($item):
gwoo May 26, 2012 Union of RAD member

should we be checking for $item->scalar directly?

nateabele May 26, 2012 Union of RAD member

We should probably be checking both, i.e. case (is_object($item) && isset($item->scalar)):.


updated !

@jails jails closed this May 26, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment