diff options
Diffstat (limited to 'application/models/BootMenuEntriesMapper.php')
| -rw-r--r-- | application/models/BootMenuEntriesMapper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/BootMenuEntriesMapper.php b/application/models/BootMenuEntriesMapper.php index b313321..587db5f 100644 --- a/application/models/BootMenuEntriesMapper.php +++ b/application/models/BootMenuEntriesMapper.php @@ -70,7 +70,7 @@ class Application_Model_BootMenuEntriesMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_BootMenuEntries'); } @@ -81,7 +81,7 @@ class Application_Model_BootMenuEntriesMapper { $data = array('bootmenuentriesID' => $botmenuentries->getID(), 'bootosID' => $botmenuentries->getBootosID() , 'bootmenuID' => $botmenuentries->getBootmenuID() , 'configID' => $botmenuentries->getConfigID() , 'title' => $botmenuentries->getTitle() , 'kcl' => $botmenuentries->getKcl(), 'kclappend' => $botmenuentries->getKclappend() , 'order' => $botmenuentries->getOrder() ); - if (null == = ($id = $botmenuentries->getID()) ) { + if (null === ($id = $botmenuentries->getID()) ) { unset($data['bootmenuentriesID']); $this->getDbTable()->insert($data); } else { @@ -112,7 +112,7 @@ class Application_Model_BootMenuEntriesMapper { } public function delete(Application_Model_BootMenuEntries $botmenuentries) { - if (null == = ($id = $botmenuentries->getID()) ) { + if (null === ($id = $botmenuentries->getID()) ) { return; } else { $this->getDbTable()->delete(array('bootmenuentriesID = ?' => $id)); |
