diff options
Diffstat (limited to 'application/models/BootMenuMapper.php')
| -rw-r--r-- | application/models/BootMenuMapper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/BootMenuMapper.php b/application/models/BootMenuMapper.php index e788865..c96a9eb 100644 --- a/application/models/BootMenuMapper.php +++ b/application/models/BootMenuMapper.php @@ -70,7 +70,7 @@ class Application_Model_BootMenuMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_BootMenu'); } @@ -87,7 +87,7 @@ class Application_Model_BootMenuMapper { 'created' => $botmenu->getCreated(), 'defaultbootmenu' => $botmenu->getDefaultbootmenu()); - if (null == = ($id = $botmenu->getID()) ) { + if (null === ($id = $botmenu->getID()) ) { unset($data['bootmenuID']); return $this->getDbTable()->insert($data); } else { @@ -96,7 +96,7 @@ class Application_Model_BootMenuMapper { } public function delete(Application_Model_BootMenu $botmenu) { - if (null == = ($id = $botmenu->getID()) ) { + if (null === ($id = $botmenu->getID()) ) { return; } else { $this->getDbTable()->delete(array('bootmenuID = ?' => $id)); |
