summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorStanislav <stanislau.wolski@gmail.com>2011-07-26 13:58:52 +0300
committerStanislav <stanislau.wolski@gmail.com>2011-07-26 13:58:52 +0300
commit7c7d7acbd74b19acd1fa77856ba7f25049b7fbdb (patch)
tree7e43d3169bde55c20a0a051988bf0cad8acf97b4
parentfa88b71d3883981b6b4353b3e18825c22a39d3d7 (diff)
downloadconnector-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.php2
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;
}