From c13dd083cc5ee253adb272f5c2c047f9ffc93ea9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fr=C3=A9d=C3=A9ric=20Guillot?= Date: Sat, 22 Feb 2014 21:52:18 -0500 Subject: [PATCH] Fix php notice --- vendor/PicoFeed/Filter.php | 2 ++ 1 file changed, 2 insertions(+) diff --git a/vendor/PicoFeed/Filter.php b/vendor/PicoFeed/Filter.php index d6da5ac..4a6daa5 100644 --- a/vendor/PicoFeed/Filter.php +++ b/vendor/PicoFeed/Filter.php @@ -334,6 +334,8 @@ class Filter } } + if (! strlen($path)) return $url; + if ($path{0} === '/') { // Absolute path