]> git.mxchange.org Git - friendica.git/blobdiff - mod/repair_ostatus.php
Some more ...
[friendica.git] / mod / repair_ostatus.php
index 5a8554dff83a1ba21ff8fcfd6e4a4aa70ee080f3..2b1224f4233fa6bec55792ad3242278b541a795c 100755 (executable)
@@ -11,7 +11,7 @@ function repair_ostatus_content(&$a) {
                // NOTREACHED
        }
 
-       $o = "<h2>".t("Resubsribing to OStatus contacts")."</h2>";
+       $o = "<h2>".t("Resubscribing to OStatus contacts")."</h2>";
 
        $uid = local_user();
 
@@ -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");