* Modified typo3/sysext/cms/tslib/class.tslib_content.php:
[Packages/TYPO3.CMS.git] / typo3 / wizard_list.php
index c2afb4a..12bd2d3 100755 (executable)
@@ -2,7 +2,7 @@
 /***************************************************************
 *  Copyright notice
 *  
-*  (c) 1999-2003 Kasper Skaarhoj (kasper@typo3.com)
+*  (c) 1999-2004 Kasper Skaarhoj (kasper@typo3.com)
 *  All rights reserved
 *
 *  This script is part of the TYPO3 project. The TYPO3 project is 
@@ -66,7 +66,7 @@ include ('sysext/lang/locallang_wizards.php');
 
 /**
  * Script Class for redirecting the user to the Web > List module if a wizard-link has been clicked in TCEforms
- * 
+ *
  * @author     Kasper Skaarhoj <kasper@typo3.com>
  * @package TYPO3
  * @subpackage core
@@ -87,20 +87,20 @@ class SC_wizard_list {
 
        /**
         * Initialization of the class, setting GPvars.
-        * 
-        * @return      void            
+        *
+        * @return      void
         */
        function init() {
-               $this->P = t3lib_div::GPvar('P',1);
-               $this->table = t3lib_div::GPvar('table');
-               $this->id = t3lib_div::GPvar('id');
+               $this->P = t3lib_div::_GP('P');
+               $this->table = t3lib_div::_GP('table');
+               $this->id = t3lib_div::_GP('id');
        }
 
        /**
         * Main function
         * Will issue a location-header, redirecting either BACK or to a new alt_doc.php instance...
-        * 
-        * @return      void            
+        *
+        * @return      void
         */
        function main() {