summaryrefslogtreecommitdiffstats
path: root/application/models/RightCategoryMapper.php
diff options
context:
space:
mode:
Diffstat (limited to 'application/models/RightCategoryMapper.php')
-rw-r--r--application/models/RightCategoryMapper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/application/models/RightCategoryMapper.php b/application/models/RightCategoryMapper.php
index fdbab94..99ce1c8 100644
--- a/application/models/RightCategoryMapper.php
+++ b/application/models/RightCategoryMapper.php
@@ -70,7 +70,7 @@ class Application_Model_RightCategoryMapper {
}
public function getDbTable() {
- if (null == = $this->_dbTable) {
+ if (null === $this->_dbTable) {
$this->setDbTable('Application_Model_DbTable_RightCategory');
}
@@ -81,7 +81,7 @@ class Application_Model_RightCategoryMapper {
$data = array('rightcategoryID' => $rightCategory->getID() , 'title' => $rightCategory->getTitle() );
- if (null == = ($id = $rightCategory->getID()) ) {
+ if (null === ($id = $rightCategory->getID()) ) {
unset($data['rightcategoryID']);
$this->getDbTable()->insert($data);
} else {
@@ -90,7 +90,7 @@ class Application_Model_RightCategoryMapper {
}
public function delete(Application_Model_RightCategory $rightCategory) {
- if (null == = ($id = $rightCategory->getID()) ) {
+ if (null === ($id = $rightCategory->getID()) ) {
return;
} else {
$this->getDbTable()->delete(array('rightcategoryID = ?' => $id));