* fix the bug when promote checking results.

This commit is contained in:
wangchunsheng
2011-11-29 02:42:21 +00:00
parent ff93bc6f07
commit edd01bfffa
+1 -1
View File
@@ -752,7 +752,7 @@ class dao
/* Set the field label and value. */
global $lang, $config, $app;
$table = strtolower(str_replace($config->db->prefix, '', $this->table));
$table = strtolower(str_replace(array($config->db->prefix, '`'), '', $this->table));
$fieldLabel = isset($lang->$table->$fieldName) ? $lang->$table->$fieldName : $fieldName;
$value = $this->sqlobj->data->$fieldName;