Commit cda63ac
authored
Update index.php
If you write if ($result = AutoUpdate::ERROR_SIMULATE), then assign the value of AutoUpdate::ERROR_SIMULATE to the variable $result and then check if this value is true. This is probably not what you want. If you write if ($result == AutoUpdate::ERROR_SIMULATE), then compare the value of $result with the value of AutoUpdate::ERROR_SIMULATE and then check if these values are the same. This is probably what you want.1 parent 4454361 commit cda63ac
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
73 | 73 | | |
74 | 74 | | |
75 | 75 | | |
| |||
0 commit comments