Merge pull request 'fix for curweather' (#1521) from haheute/friendica-addons:fix-curweather into 2024.06-rc

Reviewed-on: https://git.friendi.ca/friendica/friendica-addons/pulls/1521
This commit is contained in:
Tobias Diekershoff 2024-06-28 18:27:26 +02:00
commit b0a95ca2d2

View file

@ -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;
} }