diff options
author | Stanislav <stanislau.wolski@gmail.com> | 2011-07-26 13:58:52 +0300 |
---|---|---|
committer | Stanislav <stanislau.wolski@gmail.com> | 2011-07-26 13:58:52 +0300 |
commit | 7c7d7acbd74b19acd1fa77856ba7f25049b7fbdb (patch) | |
tree | 7e43d3169bde55c20a0a051988bf0cad8acf97b4 | |
parent | fa88b71d3883981b6b4353b3e18825c22a39d3d7 (diff) | |
download | connector-php-7c7d7acbd74b19acd1fa77856ba7f25049b7fbdb.zip connector-php-7c7d7acbd74b19acd1fa77856ba7f25049b7fbdb.tar.gz connector-php-7c7d7acbd74b19acd1fa77856ba7f25049b7fbdb.tar.bz2 |
[fix] incorrect processing of aliases during data generation for the form component
-rw-r--r-- | codebase/form_connector.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codebase/form_connector.php b/codebase/form_connector.php index f89cf03..5eeea38 100644 --- a/codebase/form_connector.php +++ b/codebase/form_connector.php @@ -14,7 +14,7 @@ class FormDataItem extends DataItem{ if ($this->skip) return ""; $str=""; for ($i = 0; $i < count($this->config->data); $i++) { - $str .= "<".$this->config->data[$i]['db_name']."><![CDATA[".$this->data[$this->config->data[$i]['db_name']]."]]></".$this->config->data[$i]['db_name'].">"; + $str .= "<".$this->config->data[$i]['name']."><![CDATA[".$this->data[$this->config->data[$i]['name']]."]]></".$this->config->data[$i]['name'].">"; } return $str; } |