<?php
/**
* Name: Widgets
- * Description: Allow to embed info from friendika into another site
+ * Description: Allow to embed info from friendica into another site
* Version: 1.0
* Author: Fabio Comuni <http://kirgroup.com/profile/fabrix/>
*/
function widgets_settings_post(){
-
+ if(! local_user())
+ return;
if (isset($_POST['widgets-submit'])){
del_pconfig(local_user(), 'widgets', 'key');