]> wagnertech.de Git - timetracker.git/blobdiff - WEB-INF/lib/form/Form.class.php
Further refactoring of the FormElement class to simplify things.
[timetracker.git] / WEB-INF / lib / form / Form.class.php
index 2c16f251072becd87265fce210e580d03b0bc497..ceaed430c414435dc07561b1e10b3e2f673fe6f3 100644 (file)
@@ -162,7 +162,7 @@ class Form {
                        if (isset($GLOBALS["I18N"])) $el->setLocalization($GLOBALS["I18N"]);
                
                        $el->setFormName($this->name);
-                       $this->elements[$el->getName()] = &$el;
+                       $this->elements[$el->name] = &$el;
                }
        }