diff options
Diffstat (limited to 'application/models/PreBootMapper.php')
| -rw-r--r-- | application/models/PreBootMapper.php | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/PreBootMapper.php b/application/models/PreBootMapper.php index cbeabc3..4a9b039 100644 --- a/application/models/PreBootMapper.php +++ b/application/models/PreBootMapper.php @@ -72,7 +72,7 @@ class Application_Model_PreBootMapper { } public function getDbTable() { - if (null == = $this->_dbTable) { + if (null === $this->_dbTable) { $this->setDbTable('Application_Model_DbTable_PreBoot'); } @@ -83,7 +83,7 @@ class Application_Model_PreBootMapper { $data = array('prebootID' => $preboot->getID() , 'membershipID' => $preboot->getMembershipID() , 'title' => $preboot->getTitle() , 'groupID' => $preboot->getGroupID(), 'created' => $preboot->getCreated(), 'source' => $preboot->getSource(), 'description' => $preboot->getDescription()); - if (null == = ($id = $preboot->getID()) ) { + if (null === ($id = $preboot->getID()) ) { unset($data['prebootID']); return $this->getDbTable()->insert($data); } else { @@ -93,7 +93,7 @@ class Application_Model_PreBootMapper { } public function delete(Application_Model_PreBoot $preboot) { - if (null == = ($id = $preboot->getID()) ) { + if (null === ($id = $preboot->getID()) ) { return; } else { $this->getDbTable()->delete(array('prebootID = ?' => $id)); |
