Reviewed: https://reviews.mahara.org/6907 Committed: https://git.mahara.org/mahara/mahara/commit/606317195f8f3a8cdf9bc448c537b8c3708d75d7 Submitter: Son Nguyen (son.ngu...@catalyst.net.nz) Branch: master
commit 606317195f8f3a8cdf9bc448c537b8c3708d75d7 Author: Son Nguyen <son.ngu...@catalyst.net.nz> Date: Thu Sep 1 08:38:35 2016 +1200 Bug 1619036: Fix a bug when determine if an array is associative Use the original code from ADODB 5.20.5 behatnotneeded Change-Id: Id6d1d365ed2db783884172ca430488d5fcdcc1d9 -- 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/1619036 Title: ADODB error when edit page layout Status in Mahara: In Progress Bug description: Version: master (16.10) I got the following error when editing a page layout [WAR] b0 (lib/adodb/adodb.inc.php:3496) Undefined offset: 0 Call stack (most recent first): log_message("Undefined offset: 0", 8, true, true, "/var/www/html/mahara/master/htdocs/lib/adodb/adodb...", 3496) at /var/www/html/mahara/master/htdocs/lib/errors.php:513 error(8, "Undefined offset: 0", "/var/www/html/mahara/master/htdocs/lib/adodb/adodb...", 3496, array(size 7)) at /var/www/html/mahara/master/htdocs/lib/adodb/adodb.inc.php:3496 ADORecordSet->GetAssoc(true) at /var/www/html/mahara/master/htdocs/lib/dml.php:562 recordset_to_assoc(object(ADORecordSet_postgres8)) at /var/www/html/mahara/master/htdocs/lib/dml.php:644 get_records_select_assoc("view_layout", "layoutmenuorder > 0 AND iscustom = 0", array(size 0), "layoutmenuorder", "id, id") at /var/www/html/mahara/master/htdocs/view/layout.php:54 This happened after we upgraded ADODB to 5.20.5 To manage notifications about this bug go to: https://bugs.launchpad.net/mahara/+bug/1619036/+subscriptions _______________________________________________ Mailing list: https://launchpad.net/~mahara-contributors Post to : mahara-contributors@lists.launchpad.net Unsubscribe : https://launchpad.net/~mahara-contributors More help : https://help.launchpad.net/ListHelp