Skip to content

Commit

Permalink
Updating null check syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
Patrick Conroy committed Nov 12, 2014
1 parent 87b78cb commit 118d7df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Model/Behavior/TranslateBehavior.php
Expand Up @@ -331,7 +331,7 @@ protected function _rowMapper($results, $locale) {
unset($row[$name]);
}

if (!is_null($row)) {
if ($row !== null) {
$row['_locale'] = $locale;
if ($hydrated) {
$row->clean();
Expand Down

0 comments on commit 118d7df

Please sign in to comment.