Skip to content
Permalink
Browse files

Returning string instead of null in modifier part compiler method

  • Loading branch information...
lorenzo committed Feb 23, 2016
1 parent 0df019f commit acc976264477ec4540dc989f3e293a6d5ecf981c
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/Database/QueryCompiler.php
@@ -327,7 +327,7 @@ protected function _buildUpdatePart($parts, $query, $generator)
protected function _buildModifierPart($parts, $query, $generator)
{
if ($parts === []) {
return null;
return '';
}
return ' ' . implode(' ', $this->_stringifyExpressions($parts, $generator, false));
}

0 comments on commit acc9762

Please sign in to comment.
You can’t perform that action at this time.