"aretefactid" is not defined error on db upgrade
Bug #1814954 reported by
Robert Lyon
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Medium
|
Unassigned |
Bug Description
On upgrade we sometimes get the error:
[WAR] 66 (lib/db/
This is due to trying to spot the array key 'artefactid' whn it's value is null
But if 'artefactid' is not set at all we get the error.
Need to use array_key_exists() instead of is_null()
As the upgrade will still complete I will mark as medium bug
Changed in mahara: | |
status: | In Progress → Fix Committed |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
https:/ /reviews. mahara. org/#/c/ 9524/