1. Elisha Cook
  2. milkandcookies

Commits

Elisha Cook  committed 17d5114

Fixed bug that left out OR conditions

  • Participants
  • Parent commits 02082f4
  • Branches default

Comments (0)

Files changed (1)

File SQLQueryBuilder.php

View file
  • Ignore whitespace
         
         if (count($this->_or))
         {
-            $parts[] = '('.implode(') or (', $this->_and).')';
+            $parts[] = '('.implode(') or (', $this->_or).')';
         }
         
         return ' where '.implode(' or ', $parts);