]> git.mxchange.org Git - friendica.git/commitdiff
Bugfix: The first contact was never repaired
authorMichael Vogel <icarus@dabo.de>
Thu, 3 Sep 2015 20:24:57 +0000 (22:24 +0200)
committerMichael Vogel <icarus@dabo.de>
Thu, 3 Sep 2015 20:24:57 +0000 (22:24 +0200)
mod/repair_ostatus.php

index 5a8554dff83a1ba21ff8fcfd6e4a4aa70ee080f3..06e34a63e0ece12747c03825b0a601b442206710 100755 (executable)
@@ -38,7 +38,7 @@ function repair_ostatus_content(&$a) {
                 intval($uid),
                 dbesc(NETWORK_OSTATUS),
                 intval(CONTACT_IS_FRIEND),
-                intval(CONTACT_IS_SHARING), ++$counter);
+                intval(CONTACT_IS_SHARING), $counter++);
 
        if (!$r) {
                $o .= t("Done");