diff options
Diffstat (limited to 'application/models/RightMapper.php')
| -rw-r--r-- | application/models/RightMapper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/RightMapper.php b/application/models/RightMapper.php index f04a5b7..2d69ad8 100644 --- a/application/models/RightMapper.php +++ b/application/models/RightMapper.php @@ -70,7 +70,7 @@ class Application_Model_RightMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_Right'); } @@ -85,7 +85,7 @@ class Application_Model_RightMapper { 'title' => $right->getTitle() , 'description' => $right->getDescription() ); - if (null == = ($id = $right->getID()) ) { + if (null === ($id = $right->getID()) ) { unset($data['rightID']); $this->getDbTable()->insert($data); } else { @@ -94,7 +94,7 @@ class Application_Model_RightMapper { } public function delete(Application_Model_Right $right) { - if (null == = ($id = $right->getID()) ) { + if (null === ($id = $right->getID()) ) { return; } else { $this->getDbTable()->delete(array('rightID = ?' => $id)); |
