Fix E_NOTICE when calling alltags.php without any parameter
git-svn-id: https://semanticscuttle.svn.sourceforge.net/svnroot/semanticscuttle/trunk@619 b3834d28-1941-0410-a4f8-b48e95affb8f
This commit is contained in:
parent
a2b518b1b3
commit
ef3a73a215
2 changed files with 7 additions and 5 deletions
|
@ -18,6 +18,7 @@ ChangeLog for SemantiScuttle
|
|||
- Fix bug #2934891: RSS XML was sometimes invalid because
|
||||
special characters did not get escaped.
|
||||
- Special header file for shell scripts (header-standalone.php)
|
||||
- Fix E_NOTICE when calling alltags.php without any parameter
|
||||
|
||||
|
||||
0.95.2 - 2010-01-16
|
||||
|
|
|
@ -25,9 +25,10 @@ require_once '../src/SemanticScuttle/header.php';
|
|||
$b2tservice = SemanticScuttle_Service_Factory::get('Bookmark2Tag');
|
||||
$cacheservice = SemanticScuttle_Service_Factory::get('Cache');
|
||||
|
||||
|
||||
|
||||
list($url, $user) = explode('/', $_SERVER['PATH_INFO']);
|
||||
list($url, $user) = explode(
|
||||
'/',
|
||||
isset($_SERVER['PATH_INFO']) ? $_SERVER['PATH_INFO'] : '/'
|
||||
);
|
||||
if (!$user) {
|
||||
header('Location: '. createURL('populartags'));
|
||||
exit;
|
||||
|
|
Loading…
Reference in a new issue