summaryrefslogtreecommitdiff
path: root/framework/Data/ActiveRecord
diff options
context:
space:
mode:
Diffstat (limited to 'framework/Data/ActiveRecord')
-rw-r--r--framework/Data/ActiveRecord/TActiveRecordManager.php7
1 files changed, 4 insertions, 3 deletions
diff --git a/framework/Data/ActiveRecord/TActiveRecordManager.php b/framework/Data/ActiveRecord/TActiveRecordManager.php
index 3790773d..a2f9a44f 100644
--- a/framework/Data/ActiveRecord/TActiveRecordManager.php
+++ b/framework/Data/ActiveRecord/TActiveRecordManager.php
@@ -1,4 +1,4 @@
-<?php
+<?php
/**
* TActiveRecordManager class file.
*
@@ -93,8 +93,9 @@ class TActiveRecordManager extends TComponent
*/
public function getRecordGateway()
{
- if(is_null($this->_gateway))
+ if($this->_gateway === null) {
$this->_gateway = $this->createRecordGateway();
+ }
return $this->_gateway;
}
@@ -107,5 +108,5 @@ class TActiveRecordManager extends TComponent
}
}
-
+
?> \ No newline at end of file