summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}