forked from friendica/friendica-addons
Merge pull request 'fix for curweather' (#1521) from haheute/friendica-addons:fix-curweather into 2024.06-rc
Reviewed-on: friendica/friendica-addons#1521
This commit is contained in:
commit
b0a95ca2d2
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue