* Finish task #36014.
This commit is contained in:
@@ -507,8 +507,13 @@ class custom extends control
|
||||
$lang = $this->app->getClientLang();
|
||||
$this->custom->deleteItems("lang=$lang§ion=URSRList&key=$key");
|
||||
|
||||
$defaultConcept = $this->dao->select('`value`')->from(TABLE_CONFIG)
|
||||
->where('module')->eq('custom')
|
||||
->andWhere('`key`')->eq('URSR')
|
||||
->fetch('value');
|
||||
|
||||
$this->dao->update(TABLE_CONFIG)
|
||||
->set('`value`')->eq($this->config->URSR)
|
||||
->set('`value`')->eq($defaultConcept)
|
||||
->where('module')->eq('common')
|
||||
->andWhere('`key`')->eq('URSR')
|
||||
->andWhere('`value`')->eq($key)
|
||||
|
||||
Reference in New Issue
Block a user