forked from friendica/friendica-addons
fix for curweather
This commit is contained in:
parent
abca07b29d
commit
b2108c7a4c
|
@ -152,7 +152,7 @@ function curweather_network_mod_init(string &$body)
|
||||||
|
|
||||||
function curweather_addon_settings_post($post)
|
function curweather_addon_settings_post($post)
|
||||||
{
|
{
|
||||||
if (!DI::userSession()->getLocalUserId() || empty($_POST['curweather-settings-submit'])) {
|
if (!DI::userSession()->getLocalUserId() || empty($_POST['curweather-submit'])) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue