Bugfix: The first contact was never repaired

This commit is contained in:
Michael Vogel 2015-09-03 22:24:57 +02:00
parent fd239ebf7b
commit 635e92249a

View file

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