X-Git-Url: http://wagnertech.de/git?a=blobdiff_plain;f=WEB-INF%2Flib%2Fform%2FTable.class.php;h=44685d46c9b029ba056fe1966e28944ad3bab790;hb=2d0b41f7a9a2064b7a41209ec85fa3779b1f8a29;hp=833bffac98a6873b8da27eceb210b70942371a3e;hpb=6e59f47d1baf9e3d420b4a368dcc005d54b6e599;p=timetracker.git diff --git a/WEB-INF/lib/form/Table.class.php b/WEB-INF/lib/form/Table.class.php index 833bffac..44685d46 100644 --- a/WEB-INF/lib/form/Table.class.php +++ b/WEB-INF/lib/form/Table.class.php @@ -49,7 +49,7 @@ class Table extends FormElement { function __construct($name, $value='') { $this->name = $name; - $this->mValue = $value; + $this->value = $value; } function setKeyField($value) { @@ -160,8 +160,8 @@ class Table extends FormElement { if (0 == $col && strtolower(get_class($this->mColumns[$col]->getRenderer())) == 'checkboxcellrenderer') { // Checkbox for the row. Determine if selected. $selected = false; - if (is_array($this->mValue)) { - foreach ($this->mValue as $p) { + if (is_array($this->value)) { + foreach ($this->value as $p) { if ($p == $this->mData[$row][$this->mKeyField]) { $selected = true; break;