]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Form.class.php
Resumed refactoring forms, hopefully without breaking reports this time.
[timetracker.git] / WEB-INF / lib / form / Form.class.php
index 7edbf3c23531a784549acb7323ec45aa5acf7167..a45b55a31d6c8abd44ca6bedddcc08defdba4e4f 100644 (file)
@@ -38,7 +38,7 @@ class Form {
   var $name = '';
   // TODO: refactoring ongoing down from here.
 
-       var $mElements     = array();
+       var $mElements = array();
        var $mRequest;
     
     function __construct($formName) {
@@ -201,8 +201,8 @@ class Form {
        
        function addInputElement(&$el) {
                if ($el && is_object($el)) {
-                        if (isset($GLOBALS["I18N"])) $el->setLocalization($GLOBALS["I18N"]);
-
+                       if (isset($GLOBALS["I18N"])) $el->setLocalization($GLOBALS["I18N"]);
+               
                        $el->setFormName($this->name);
                        $this->mElements[$el->getName()] = &$el;
                }