diff options
author | Dmitry <dmitry@dhtmlx.com> | 2012-07-06 11:15:12 +0200 |
---|---|---|
committer | Dmitry <dmitry@dhtmlx.com> | 2012-07-06 11:15:12 +0200 |
commit | e18ad94319074c73956827eecffbc2bc1eb974ff (patch) | |
tree | 7c1dbaa7a71ffaec83dd8a4a8a7e28d0fe2c4771 | |
parent | ef29bf0e6d7c0605570dce0fa25fab0d0239cad9 (diff) | |
download | connector-php-e18ad94319074c73956827eecffbc2bc1eb974ff.zip connector-php-e18ad94319074c73956827eecffbc2bc1eb974ff.tar.gz connector-php-e18ad94319074c73956827eecffbc2bc1eb974ff.tar.bz2 |
fix aliases in base connector
-rw-r--r-- | codebase/base_connector.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/codebase/base_connector.php b/codebase/base_connector.php index b6df35d..ac81c9c 100644 --- a/codebase/base_connector.php +++ b/codebase/base_connector.php @@ -252,7 +252,8 @@ class DataItem{ $str="<item"; for ($i=0; $i < sizeof($this->config->data); $i++){ $name=$this->config->data[$i]["name"]; - $str.=" ".$name."='".$this->xmlentities($this->data[$name])."'"; + $db_name=$this->config->data[$i]["db_name"]; + $str.=" ".$name."='".$this->xmlentities($this->data[$db_name])."'"; } //output custom data if ($this->userdata !== false) |