Navigation Menu

Skip to content

Commit

Permalink
Adding a new valid syntax for expression in fields with PDO datasourc…
Browse files Browse the repository at this point in the history
…es Fix
  • Loading branch information
jails committed May 26, 2012
1 parent d7386c1 commit 4e4084d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/source/Database.php
Expand Up @@ -713,7 +713,7 @@ public function fields($fields, $context) {
case is_array($item):
$toMerge[$name] = $item;
continue;
case is_object($item):
case isset($item->scalar):
$toMerge[$name] = array($item->scalar);
continue;
case in_array($item, $modelNames):
Expand Down

0 comments on commit 4e4084d

Please sign in to comment.