summaryrefslogtreecommitdiffstats
path: root/application/models/FilterMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/FilterMapper.php')
-rw-r--r--application/models/FilterMapper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/FilterMapper.php b/application/models/FilterMapper.php
index c367b88..357e8aa 100644
--- a/application/models/FilterMapper.php
+++ b/application/models/FilterMapper.php
@@ -70,7 +70,7 @@ class Application_Model_FilterMapper {
}
public function getDbTable() {
- if (null == = $this->_dbTable) {
+ if (null === $this->_dbTable) {
$this->setDbTable('Application_Model_DbTable_Filter');
}
@@ -88,7 +88,7 @@ class Application_Model_FilterMapper {
'created' => $filter->getCreated() ,
'priority' => $filter->getPriority() );
- if (null == = ($id = $filter->getID()) ) {
+ if (null === ($id = $filter->getID()) ) {
unset($data['filterID']);
return $this->getDbTable()->insert($data);
} else {
@@ -97,7 +97,7 @@ class Application_Model_FilterMapper {
}
public function delete(Application_Model_Filter $filter) {
- if (null == = ($id = $filter->getID()) ) {
+ if (null === ($id = $filter->getID()) ) {
return;
} else {
$this->getDbTable()->delete(array('filterID = ?' => $id));