Skip to content

Commit 29e3235

Browse files
committed
Equality not assignment
1 parent 66ffbbf commit 29e3235

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

engine.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040

4141
// If there is no output from the runner, an exception must have occurred
4242
foreach ($results as $result_file) {
43-
if ($result_file = "cc_exception_thrown") {
43+
if ($result_file == "cc_exception_thrown") {
4444
exit(1);
4545
} else {
4646
echo file_get_contents($result_file);

0 commit comments

Comments
 (0)