Reviewed: https://reviews.mahara.org/6551 Committed: https://git.mahara.org/mahara/mahara/commit/406dc62678eacf559cd73dba454e8bc51d8953df Submitter: Robert Lyon ([email protected]) Branch: master
commit 406dc62678eacf559cd73dba454e8bc51d8953df Author: Robert Lyon <[email protected]> Date: Thu Jun 9 13:29:57 2016 +1200 Bug 1578000: fix PHP fatal error when deleting a profile icon. behatnotneeded: Tested will be added in another patch. Change-Id: Ibb68614d6704df0e13d4a8e0c9e321e7afc39689 -- You received this bug notification because you are a member of Mahara Contributors, which is subscribed to Mahara. Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it! https://bugs.launchpad.net/bugs/1578000 Title: "Call to undefined function artefact_instance_from_id()" when deleting a profile icon Status in Mahara: Fix Committed Status in Mahara 16.04 series: Confirmed Status in Mahara 16.10 series: Fix Committed Bug description: To replicate: 1. Upload a profile icon 2. On the "Content -> Profile pictures" page, tick the box next to the uploaded profile icon. 3. Press the "delete" button Expected result: icon is deleted Actual result: Fatal crash with this error: ( ! ) Fatal error: Call to undefined function artefact_instance_from_id() in /home/aaronw/www/mahara/htdocs/artefact/file/profileicons.php on line 317 Call Stack # Time Memory Function Location 1 0.0098 315720 {main}( ) ../profileicons.php:0 2 0.1018 10206368 pieform_instance( ??? ) ../profileicons.php:36 3 0.1034 10512720 Pieform->__construct( ??? ) ../mahara.php:4484 4 0.1075 10745944 settings_submit_delete( ???, ??? ) ../pieform.php:528 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1578000/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : [email protected] Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp

