@@ -40,7 +40,7 @@ discard block |
||
| 40 | 40 | |
| 41 | 41 | public function _on_creating() |
| 42 | 42 | { |
| 43 | - return ( $this->validate_tag($this->tag) |
|
| 43 | + return ($this->validate_tag($this->tag) |
|
| 44 | 44 | && $this->_check_duplicates() == 0); |
| 45 | 45 | } |
| 46 | 46 | |
@@ -69,7 +69,7 @@ discard block |
||
| 69 | 69 | |
| 70 | 70 | public function _on_updating() |
| 71 | 71 | { |
| 72 | - return ( $this->validate_tag($this->tag) |
|
| 72 | + return ($this->validate_tag($this->tag) |
|
| 73 | 73 | && $this->_check_duplicates() == 0); |
| 74 | 74 | } |
| 75 | 75 | |