*** empty log message ***
[Packages/TYPO3.CMS.git] / typo3 / wizard_forms.php
index 0b98d2b..7a44b16 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 
@@ -203,9 +203,9 @@ class SC_wizard_forms {
                global $BACK_PATH,$HTTP_POST_VARS;
 
                        // GPvars:
-               $this->P = t3lib_div::GPvar('P',1);
-               $this->special = t3lib_div::GPvar('special');
-               $this->FORMCFG = t3lib_div::GPvar('FORMCFG',1);
+               $this->P = t3lib_div::_GP('P');
+               $this->special = t3lib_div::_GP('special');
+               $this->FORMCFG = t3lib_div::_GP('FORMCFG');
 
                        // Document template object:
                $this->doc = t3lib_div::makeInstance('mediumDoc');
@@ -739,7 +739,7 @@ class SC_wizard_forms {
                                        if ($vv['type']=='select' || $vv['type']=='radio')      {
                                                $thisLine[2]=str_replace(chr(10),', ',str_replace(',','',$vv['options']));
                                        } elseif ($vv['type']=='check') {
-                                               if ($vv['checked'])     $thisLine[2]=1;
+                                               if ($vv['default'])     $thisLine[2]=1;
                                        } elseif (strcmp(trim($vv['default']),'')) {
                                                $thisLine[2]=$vv['default'];
                                        }