← Back to team overview

mahara-contributors team mailing list archive

[Bug 1619036] A change has been merged

 

Reviewed:  https://reviews.mahara.org/11231
Committed: https://git.mahara.org/mahara/mahara/commit/982b87a2dc83ba39fc2f87f06c508e7c7547432e
Submitter: Cecilia Vela Gurovic (ceciliavg@xxxxxxxxxxxxxxx)
Branch:    master

commit 982b87a2dc83ba39fc2f87f06c508e7c7547432e
Author: Son Nguyen <son.nguyen@xxxxxxxxxxxxxxx>
Date:   Thu Sep 1 08:38:35 2016 +1200

Bug 1890213: determine if array is associative

Bug 1619036: Fix a bug when determine if an array is associative

Use the original code from ADODB 5.20.5

behatnotneeded

Change-Id: Iffbdda6dd150cfe6c7fe428b1fa4661563faa9bb

-- 
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:
  Fix Released
Status in Mahara 16.10 series:
  Fix Released

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


References