aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--populartags.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/populartags.php b/populartags.php
index 4cc87c6..6429bf7 100644
--- a/populartags.php
+++ b/populartags.php
@@ -25,8 +25,7 @@ require_once('header.inc.php');
$b2tservice =& ServiceFactory::getServiceInstance('Bookmark2TagService');
$cacheservice =& ServiceFactory::getServiceInstance('CacheService');
-
-list($url, $user) = explode('/', $_SERVER['PATH_INFO']);
+@list($url, $user) = isset($_SERVER['PATH_INFO']) ? explode('/', $_SERVER['PATH_INFO']) : NULL;
if ($usecache) {
// Generate hash for caching on