summaryrefslogtreecommitdiffstats
path: root/application/models/PoolMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/PoolMapper.php')
-rw-r--r--application/models/PoolMapper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/PoolMapper.php b/application/models/PoolMapper.php
index dbc1ae4..b42dc88 100644
--- a/application/models/PoolMapper.php
+++ b/application/models/PoolMapper.php
@@ -70,7 +70,7 @@ class Application_Model_PoolMapper {
}
public function getDbTable() {
- if (null == = $this->_dbTable) {
+ if (null === $this->_dbTable) {
$this->setDbTable('Application_Model_DbTable_Pool');
}
@@ -85,7 +85,7 @@ class Application_Model_PoolMapper {
'description' => $pol->getDescription() ,
'location' => $pol->getLocation() );
- if (null == = ($id = $pol->getID()) ) {
+ if (null === ($id = $pol->getID()) ) {
unset($data['poolID']);
$this->getDbTable()->insert($data);
} else {
@@ -94,7 +94,7 @@ class Application_Model_PoolMapper {
}
public function delete(Application_Model_Pool $pol) {
- if (null == = ($id = $pol->getID()) ) {
+ if (null === ($id = $pol->getID()) ) {
return;
} else {
$this->getDbTable()->delete(array('poolID = ?' => $id));