Merge pull request #753 from MrPetovan/bug/5932-fix-php-notices
[statusnet] Fix Undefined variable: id
This commit is contained in:
commit
1818c9b86c
1 changed files with 1 additions and 1 deletions
|
@ -658,7 +658,7 @@ function statusnet_addon_admin(App $a, &$o)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
/* empty form to add new site */
|
/* empty form to add new site */
|
||||||
$id++;
|
$id = count($sitesform);
|
||||||
$sitesform[] = [
|
$sitesform[] = [
|
||||||
'sitename' => ["sitename[$id]", L10n::t("Site name"), "", ""],
|
'sitename' => ["sitename[$id]", L10n::t("Site name"), "", ""],
|
||||||
'apiurl' => ["apiurl[$id]", "Api url", "", L10n::t("Base API Path \x28remember the trailing /\x29")],
|
'apiurl' => ["apiurl[$id]", "Api url", "", L10n::t("Base API Path \x28remember the trailing /\x29")],
|
||||||
|
|
Loading…
Reference in a new issue