diff options
-rw-r--r-- | usr/local/www/widgets/widgets/rss.widget.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/widgets/widgets/rss.widget.php b/usr/local/www/widgets/widgets/rss.widget.php index c655fd6..8119565 100644 --- a/usr/local/www/widgets/widgets/rss.widget.php +++ b/usr/local/www/widgets/widgets/rss.widget.php @@ -30,7 +30,7 @@ require_once("guiconfig.inc"); require_once("pfsense-utils.inc"); require_once("functions.inc"); -if($_POST) { +if($_POST['rssfeed']) { $config['widgets']['rssfeed'] = str_replace("\n", ",", $_POST['rssfeed']); $config['widgets']['rssmaxitems'] = str_replace("\n", ",", $_POST['rssmaxitems']); $config['widgets']['rsswidgetheight'] = $_POST['rsswidgetheight']; |