From: uw
Date: Sun May 13 18:08:58 2001
Modified files:
      php-lib/php/form/form_xmlfactory.inc

Log message:
- fixed a typo 


Index: php-lib/php/form/form_xmlfactory.inc
diff -u php-lib/php/form/form_xmlfactory.inc:1.3 
php-lib/php/form/form_xmlfactory.inc:1.4
--- php-lib/php/form/form_xmlfactory.inc:1.3    Sun May 13 17:52:56 2001
+++ php-lib/php/form/form_xmlfactory.inc        Sun May 13 18:08:27 2001
@@ -228,7 +228,7 @@
         case "cols":
         case "minyear":
         case "maxyear":
-          $v = (int)$size;
+          $v = (int)$v;
           break;
           
       }
@@ -261,6 +261,7 @@
           // plain element
           $this->attributes = $attrs;
           $this->attributes["type"] = $name;
+          print_r($attrs);
           
         } else {
         
@@ -484,8 +485,10 @@
       case "text":
       case "textarea":
       case "textedit":
-        if (!$this->flag_defaults)
+        if (!$this->flag_defaults) {
+          print_r($this->attributes);
           $this->form->addElement($this->attributes);
+        }
         break;
         
       default:



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to