Browse Source

Fixed a couple other small issues

Jose Lorenzo Rodriguez 10 years ago
parent
commit
7c7cbcc5e1
1 changed files with 1 additions and 2 deletions
  1. 1 2
      src/Database/Query.php

+ 1 - 2
src/Database/Query.php

@@ -1415,7 +1415,7 @@ class Query implements ExpressionInterface, IteratorAggregate
     {
         $this->_dirty();
         $this->_type = 'delete';
-        if ($table) {
+        if ($table !== null) {
             $this->from($table);
         }
         return $this;
@@ -1758,7 +1758,6 @@ class Query implements ExpressionInterface, IteratorAggregate
     protected function _dirty()
     {
         $this->_dirty = true;
-        $this->_transformedQuery = null;
 
         if ($this->_iterator && $this->_valueBinder) {
             $this->valueBinder()->reset();