]> git.mxchange.org Git - friendica.git/blobdiff - boot.php
Hopefully this is now clearer
[friendica.git] / boot.php
index 4571e0aa3a4bfbb83519e172c78b0b9024be91e6..199ca05551fd0da556794a2d75cb8d54990c65b0 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -706,7 +706,7 @@ function update_db(App $a)
                        }
 
                        // run any left update_nnnn functions in update.php
-                       for ($x = $stored; $x < $current; $x ++) {
+                       for ($x = $stored + 1; $x <= $current; $x++) {
                                $r = run_update_function($x);
                                if (!$r) {
                                        break;