@@ -99,8 +99,9 @@ |
||
99 | 99 | if ( |
100 | 100 | $this->queryStructure->getElement( ( QueryStructure::WHERE_TRIGGER ) ) && |
101 | 101 | !count( $this->queryStructure->getElement( QueryStructure::WHERE ) ) |
102 | - ) |
|
103 | - throw new QueryException( 'Where or Having clause is required for this statement!', QueryException::QUERY_ERROR_DELETE_NOT_FILTER ); |
|
102 | + ) { |
|
103 | + throw new QueryException( 'Where or Having clause is required for this statement!', QueryException::QUERY_ERROR_DELETE_NOT_FILTER ); |
|
104 | + } |
|
104 | 105 | |
105 | 106 | return DbService::getInstance()->query( |
106 | 107 | $this->getSyntax(), |