Skip to content

Commit 0f56ce5

Browse files
committed
Replaced OR operator with || & explicit precedence
1 parent 6e07cd5 commit 0f56ce5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Symfony/src/Codebender/CompilerBundle/Handler/CompilerHandler.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -933,7 +933,7 @@ private function setLoggingParams($request, &$compiler_config, $temp_dir, $compi
933933

934934
file_put_contents($compiler_config['logFileName'], '');
935935
}
936-
elseif(!array_key_exists('logging', $request) or !$request['logging'])
936+
elseif(!array_key_exists('logging', $request)|| (!$request['logging']))
937937
$compiler_config['logging'] = false;
938938

939939
return array("success"=>true);

0 commit comments

Comments
 (0)