summaryrefslogtreecommitdiff
path: root/framework/Data/ActiveRecord
diff options
context:
space:
mode:
authorrojaro <>2010-08-18 08:36:25 +0000
committerrojaro <>2010-08-18 08:36:25 +0000
commit2f864833546adcf5e9abe4074d6b33daa458e65e (patch)
treee939f40b4ac0add50b12ed043f7589d92cf9015d /framework/Data/ActiveRecord
parent9d8a303df670aec1fa3eb246f54513709d8f6215 (diff)
fixed #278
Diffstat (limited to 'framework/Data/ActiveRecord')
-rw-r--r--framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php b/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php
index 7e584514..1d13b7cd 100644
--- a/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php
+++ b/framework/Data/ActiveRecord/Relations/TActiveRecordRelation.php
@@ -86,7 +86,7 @@ abstract class TActiveRecordRelation
else if($results instanceof TActiveRecordRelation)
$stack[] = $this; //call it later
else if($results === null || !$validArray)
- $stacks=array();
+ $stack = array();
return $results;
}