X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=widgets%2Fwidgets.php;h=47a6e48a6fe6deea6903fb25b3d8f4244206112a;hb=64a429ed31c01ce37a44bb72ecfaa4974419fedf;hp=226a34c060f88c519469c832f1a1f209172e44e0;hpb=a3eb7268aeafbc12e081f94c41c4e08b6e3b7ccc;p=friendica-addons.git diff --git a/widgets/widgets.php b/widgets/widgets.php old mode 100644 new mode 100755 index 226a34c0..47a6e48a --- a/widgets/widgets.php +++ b/widgets/widgets.php @@ -1,7 +1,7 @@ */ @@ -19,7 +19,8 @@ function widgets_uninstall() { function widgets_settings_post(){ - + if(! local_user()) + return; if (isset($_POST['widgets-submit'])){ del_pconfig(local_user(), 'widgets', 'key');