diff options
Diffstat (limited to 'codebase/gantt_connector.php')
-rw-r--r-- | codebase/gantt_connector.php | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/codebase/gantt_connector.php b/codebase/gantt_connector.php index 74b8636..3577835 100644 --- a/codebase/gantt_connector.php +++ b/codebase/gantt_connector.php @@ -131,15 +131,15 @@ class GanttConnector extends Connector{ class GanttDataProcessor extends DataProcessor{ function name_data($data){ if ($data=="start_date") - return $this->config->text[0]["db_name"]; + return $this->config->text[0]["name"]; if ($data=="id") - return $this->config->id["db_name"]; + return $this->config->id["name"]; if ($data=="duration" && $this->config->text[1]["name"] == "duration") - return $this->config->text[1]["db_name"]; + return $this->config->text[1]["name"]; if ($data=="end_date" && $this->config->text[1]["name"] == "end_date") - return $this->config->text[1]["db_name"]; + return $this->config->text[1]["name"]; if ($data=="text") - return $this->config->text[2]["db_name"]; + return $this->config->text[2]["name"]; return $data; } |