aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorplegall <plg@piwigo.org>2010-02-28 19:37:18 +0000
committerplegall <plg@piwigo.org>2010-02-28 19:37:18 +0000
commitd2872aacef1557557c9997befd1d3af085083c36 (patch)
tree50ac6a14f2b3046a636f9b3e0fa26cbedbe06fe6
parentee1a646e5ae3ef929872efd3da2b971596d70057 (diff)
bug 1469 fixed: I should have permitted an empty feed in URL in r4742
git-svn-id: http://piwigo.org/svn/branches/2.0@5001 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--feed.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/feed.php b/feed.php
index 4da7fb4fe..026f6b377 100644
--- a/feed.php
+++ b/feed.php
@@ -63,7 +63,7 @@ function ts_to_iso8601($ts)
// | initialization |
// +-----------------------------------------------------------------------+
-check_input_parameter('feed', $_GET['feed'], false, '/^[0-9a-z]{50}$/i');
+check_input_parameter('feed', @$_GET['feed'], false, '/^[0-9a-z]{50}$/i');
$feed_id= isset($_GET['feed']) ? $_GET['feed'] : '';
$image_only=isset($_GET['image_only']);