]> git.mxchange.org Git - friendica-addons.git/commitdiff
fix for curweather
authorHannes Heute <haheute@posteo.de>
Thu, 27 Jun 2024 09:44:15 +0000 (11:44 +0200)
committerHannes Heute <haheute@posteo.de>
Thu, 27 Jun 2024 09:44:15 +0000 (11:44 +0200)
curweather/curweather.php

index 5a14a9cf0b0df5a2e85070650f54749af01e8721..9aa8584a3f7f5f5d0b04da7ab6f7ddce9321dc54 100644 (file)
@@ -152,7 +152,7 @@ function curweather_network_mod_init(string &$body)
 
 function curweather_addon_settings_post($post)
 {
-       if (!DI::userSession()->getLocalUserId() || empty($_POST['curweather-settings-submit'])) {
+       if (!DI::userSession()->getLocalUserId() || empty($_POST['curweather-submit'])) {
                return;
        }