|
@@ -3703,7 +3703,7 @@ class Database
|
|
|
|
|
|
private function update_key(&$key, &$value)
|
|
|
{
|
|
|
- $value['key'] = $key;
|
|
|
+ $value['source_key'] = $key;
|
|
|
if (strstr($key, '/')) {
|
|
|
if (strstr($key, '-')) {
|
|
|
$temp = explode('-', $key);
|
|
@@ -3945,11 +3945,11 @@ class Database
|
|
|
}
|
|
|
$hv = $this->update_html($hv, $hk, $hk, $bv, $s);
|
|
|
if (isset($param['update_show']) && $param['update_show'] && is_array($param['update_show'])) {
|
|
|
- if (isset($param['update_show'][$hv['key']])) {
|
|
|
- if (!isset($total[$hv['key']])) {
|
|
|
- $total[$hv['key']] = array($hv['desc'], $param['update_show'][$hv['key']], 0);
|
|
|
+ if (isset($param['update_show'][$hv['source_key']])) {
|
|
|
+ if (!isset($total[$hv['source_key']])) {
|
|
|
+ $total[$hv['source_key']] = array($hv['desc'], $param['update_show'][$hv['source_key']], 0);
|
|
|
}
|
|
|
- $total[$hv['key']][2] += $hv['value'];
|
|
|
+ $total[$hv['source_key']][2] += $hv['value'];
|
|
|
}
|
|
|
}
|
|
|
if ($hv['update'] == 'hidden') {
|