Browse Source

Returning string instead of null in modifier part compiler method

Jose Lorenzo Rodriguez 10 years ago
parent
commit
acc9762644
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/Database/QueryCompiler.php

+ 1 - 1
src/Database/QueryCompiler.php

@@ -327,7 +327,7 @@ class QueryCompiler
     protected function _buildModifierPart($parts, $query, $generator)
     {
         if ($parts === []) {
-            return null;
+            return '';
         }
         return ' ' . implode(' ', $this->_stringifyExpressions($parts, $generator, false));
     }