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
pull/1530/head
Tobias Diekershoff 2024-06-28 18:27:26 +02:00
commit b0a95ca2d2
1 changed files with 1 additions and 1 deletions

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