*** empty log message ***
authorKasper Skårhøj <kasper@typo3.org>
Mon, 26 Apr 2004 17:22:41 +0000 (17:22 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Mon, 26 Apr 2004 17:22:41 +0000 (17:22 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@242 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_div.php

index 311fc65..4ba6f30 100755 (executable)
@@ -231,7 +231,9 @@ class t3lib_div {
         */
        function _GP($var)      {
                $value = isset($GLOBALS['HTTP_POST_VARS'][$var]) ? $GLOBALS['HTTP_POST_VARS'][$var] : $GLOBALS['HTTP_GET_VARS'][$var];
-               if (is_array($value))   { t3lib_div::stripSlashesOnArray($value); } else { $value = stripslashes($value); }
+               if (isset($value))      {
+                       if (is_array($value))   { t3lib_div::stripSlashesOnArray($value); } else { $value = stripslashes($value); }
+               }
                return $value;
        }