Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
mahara
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
mahara
mahara
Commits
473be679
Commit
473be679
authored
Feb 12, 2019
by
Cecilia Vela Gurovic
Committed by
Gerrit Code Review
Feb 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge "Bug 1814954: Getting "Undefined index: artefactid" on upgrade"
parents
f76acb0b
ddd0ac8a
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
upgrade.php
htdocs/lib/db/upgrade.php
+2
-1
No files found.
htdocs/lib/db/upgrade.php
View file @
473be679
...
...
@@ -890,7 +890,8 @@ function xmldb_core_upgrade($oldversion=0) {
$configdata
[
'artefactids'
]
=
array
(
$configdata
[
'artefactid'
]);
unset
(
$configdata
[
'artefactid'
]);
}
else
if
(
is_null
(
$configdata
[
'artefactid'
]))
{
else
if
(
array_key_exists
(
'artefactid'
,
$configdata
))
{
// Key exists and value is NULL
$configdata
[
'artefactids'
]
=
array
();
unset
(
$configdata
[
'artefactid'
]);
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment