Another fix in week view for negative hours.
[timetracker.git] / WEB-INF / lib / form / Combobox.class.php
index ce66739..88f0b50 100644 (file)
@@ -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