diff options
Diffstat (limited to 'application/models/PoolEntriesMapper.php')
| -rw-r--r-- | application/models/PoolEntriesMapper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/PoolEntriesMapper.php b/application/models/PoolEntriesMapper.php index b1678c5..1c0a952 100644 --- a/application/models/PoolEntriesMapper.php +++ b/application/models/PoolEntriesMapper.php @@ -70,7 +70,7 @@ class Application_Model_PoolEntriesMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_PoolEntries'); } @@ -81,7 +81,7 @@ class Application_Model_PoolEntriesMapper { $data = array('poolentriesID' => $polentries->getID(), 'poolID' => $polentries->getPoolID() , 'clientID' => $polentries->getClientID() ); - if (null == = ($id = $polentries->getID()) ) { + if (null === ($id = $polentries->getID()) ) { unset($data['poolentriesID']); $this->getDbTable()->insert($data); } else { @@ -90,7 +90,7 @@ class Application_Model_PoolEntriesMapper { } public function delete(Application_Model_PoolEntries $polentries) { - if (null == = ($id = $polentries->getID()) ) { + if (null === ($id = $polentries->getID()) ) { return; } else { $this->getDbTable()->delete(array('poolentriesID = ?' => $id)); |
