X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FCombobox.class.php;h=88f0b50a933c3ebff149a0e257921bbf12a04573;hb=ed41335d63e71a11d30e92f4367106e9398adf9d;hp=ce6673963aa4a7af1fea25c9dfa41f2f735b0180;hpb=61efd9d023ae34c1290ef2e1ae25829c509caaee;p=timetracker.git diff --git a/WEB-INF/lib/form/Combobox.class.php b/WEB-INF/lib/form/Combobox.class.php index ce667396..88f0b50a 100644 --- a/WEB-INF/lib/form/Combobox.class.php +++ b/WEB-INF/lib/form/Combobox.class.php @@ -44,13 +44,11 @@ class Combobox extends FormElement { var $mCompareOn = "key"; // or "value" var $mDataDeep = 1; var $mDataKeys = array(); - var $class = 'Combobox'; - function __construct($name,$value="") - { - $this->name = $name; - $this->value = $value; - } + function __construct($name) { + $this->class = 'Combobox'; + $this->name = $name; + } function setMultiple($value) { $this->mMultiple = $value; } function isMultiple() { return $this->mMultiple; } @@ -111,4 +109,3 @@ class Combobox extends FormElement { return $html; } } -?> \ No newline at end of file