Index: branches/5.1.x/core/kernel/application.php =================================================================== diff -u -N -r14360 -r14361 --- branches/5.1.x/core/kernel/application.php (.../application.php) (revision 14360) +++ branches/5.1.x/core/kernel/application.php (.../application.php) (revision 14361) @@ -1,6 +1,6 @@ ConfigHash[$name] = $value; + + $fields_hash = Array ('VariableValue' => $value); + $this->Conn->doUpdate($fields_hash, TABLE_PREFIX . 'ConfigurationValues', 'VariableName = ' . $this->Conn->qstr($name)); + + $this->UnitConfigReader->ResetParsedData(); + } + function UpdateConfigCache() { if ($this->ConfigCacheIds) {