Further refactoring of the FormElement class to simplify things.
[timetracker.git] / user_add.php
index a00528b..08d66a7 100644 (file)
@@ -98,7 +98,7 @@ $projects = ttTeamHelper::getActiveProjects($user->team_id);
 class NameCellRenderer extends DefaultCellRenderer {
   function render(&$table, $value, $row, $column, $selected = false) {
     $this->setOptions(array('width'=>200,'valign'=>'top'));
-    $this->setValue('<label for = "'.$table->getName().'_'.$row.'">'.htmlspecialchars($value).'</label>');
+    $this->setValue('<label for = "'.$table->name.'_'.$row.'">'.htmlspecialchars($value).'</label>');
     return $this->toString();
   }
 }