Browse Source

Merge pull request #753 from MrPetovan/bug/5932-fix-php-notices

[statusnet] Fix Undefined variable: id
pull/760/head
Tobias Diekershoff 4 years ago committed by GitHub
parent
commit
1818c9b86c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      statusnet/statusnet.php

2
statusnet/statusnet.php

@ -658,7 +658,7 @@ function statusnet_addon_admin(App $a, &$o)
}
}
/* empty form to add new site */
$id++;
$id = count($sitesform);
$sitesform[] = [
'sitename' => ["sitename[$id]", L10n::t("Site name"), "", ""],
'apiurl' => ["apiurl[$id]", "Api url", "", L10n::t("Base API Path \x28remember the trailing /\x29")],

Loading…
Cancel
Save