Commit ddd0ac8a authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1814954: Getting "Undefined index: artefactid" on upgrade

Due to checking for a null array vaue incorrectly


Change-Id: Iac2d98878f9baea098af6661d08a4d2dcc6be30b
Signed-off-by: Robert Lyon's avatarRobert Lyon <>
parent 637fa264
......@@ -890,7 +890,8 @@ function xmldb_core_upgrade($oldversion=0) {
$configdata['artefactids'] = array($configdata['artefactid']);
else if (is_null($configdata['artefactid'])) {
else if (array_key_exists('artefactid', $configdata)) {
// Key exists and value is NULL
$configdata['artefactids'] = array();
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment