summaryrefslogtreecommitdiffstats
path: root/usr/local/www/widgets/widgets/rss.widget.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-03-14 22:07:13 -0400
committerScott Ullrich <sullrich@pfsense.org>2009-03-14 22:07:13 -0400
commit5bd2aa63a09c9eb60d26566224193bbf6c1f7e09 (patch)
tree459cc8b35d9c9a4e22a2a26c7c484b13b25f257f /usr/local/www/widgets/widgets/rss.widget.php
parent6871d2c388f3c2a5adfe2e7c8cdeaf111a2ade8c (diff)
downloadpfsense-5bd2aa63a09c9eb60d26566224193bbf6c1f7e09.zip
pfsense-5bd2aa63a09c9eb60d26566224193bbf6c1f7e09.tar.gz
Handle post correctly
Diffstat (limited to 'usr/local/www/widgets/widgets/rss.widget.php')
-rw-r--r--usr/local/www/widgets/widgets/rss.widget.php2
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'];
OpenPOWER on IntegriCloud