Commit 473be679 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Gerrit Code Review

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

parents f76acb0b ddd0ac8a
......@@ -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();
Markdown is supported
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