diff options
Diffstat (limited to 'www')
| -rw-r--r-- | www/tag2tagadd.php | 6 | 
1 files changed, 5 insertions, 1 deletions
| diff --git a/www/tag2tagadd.php b/www/tag2tagadd.php index cf8a639..d660451 100644 --- a/www/tag2tagadd.php +++ b/www/tag2tagadd.php @@ -40,7 +40,11 @@ if(!$userservice->isLoggedOn()) {  }  /* Managing path info */ -list ($url, $tag1) = explode('/', $_SERVER['PATH_INFO']); +if (isset($_SERVER['PATH_INFO'])) { +    list ($url, $tag1) = explode('/', $_SERVER['PATH_INFO']); +} else { +    $url = $tag1 = null; +}  if (POST_CONFIRM != '') {      $tag1 = POST_TAG1; | 
