mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-06 15:14:58 +00:00
first check if configuration parameter is set
before accessing it and saving in xml file
This commit is contained in:
parent
020384cb1c
commit
f3717eeacc
|
@ -769,7 +769,7 @@ class Settings { /* {{{ */
|
|||
$this->setXMLAttributValue($extnode, 'name', $name);
|
||||
foreach($GLOBALS['EXT_CONF'][$name]['config'] as $fieldname=>$conf) {
|
||||
$parameter = $extnode->addChild('parameter');
|
||||
$parameter[0] = $extension[$fieldname];
|
||||
$parameter[0] = isset($extension[$fieldname]) ? $extension[$fieldname] : '';
|
||||
$this->setXMLAttributValue($parameter, 'name', $fieldname);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user