X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=widgets%2Fwidgets.php;h=47a6e48a6fe6deea6903fb25b3d8f4244206112a;hb=79f5e9d0837290658b0119eafd81c420c09150fc;hp=226a34c060f88c519469c832f1a1f209172e44e0;hpb=97cdca14c46fdda12fa56dd16566f7b08745cfb9;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');