summaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorGravatar mensonge2009-02-11 10:05:53 +0000
committerGravatar mensonge2009-02-11 10:05:53 +0000
commit3020eb164d9380ba63fdbe5bf6f3cb993ab28bbf (patch)
tree95f7a3f96fee22bb4ae57471a17c5eff55ec1641
parente8afc9d82ceaee9feab73d6d121a758b2ea6744e (diff)
downloadscuttle-3020eb164d9380ba63fdbe5bf6f3cb993ab28bbf.tar.gz
scuttle-3020eb164d9380ba63fdbe5bf6f3cb993ab28bbf.zip
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@271 b3834d28-1941-0410-a4f8-b48e95affb8f
-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