Skip to content

Commit 2b5eeb0

Browse files
author
Tim Helfensdörfer
authored
Merge pull request #56 from r23/patch-1
Update index.php
2 parents 4454361 + cda63ac commit 2b5eeb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

example/client/update/index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function onAllUpdateFinishCallbacks($updatedVersions)
6969
} else {
7070
echo 'Update simulation failed: ' . $result . '!<br>';
7171

72-
if ($result = AutoUpdate::ERROR_SIMULATE) {
72+
if ($result == AutoUpdate::ERROR_SIMULATE) {
7373
echo '<pre>';
7474
var_dump($update->getSimulationResults());
7575
echo '</pre>';

0 commit comments

Comments
 (0)