← Back to team overview

mahara-contributors team mailing list archive

[Bug 1713598] A change has been merged

 

Reviewed:  https://reviews.mahara.org/7953
Committed: https://git.mahara.org/mahara/mahara/commit/bed303c9dba16f503e9ffa1169b5a40e8337f085
Submitter: Robert Lyon (robertl@xxxxxxxxxxxxxxx)
Branch:    master

commit bed303c9dba16f503e9ffa1169b5a40e8337f085
Author: Robert Lyon <robertl@xxxxxxxxxxxxxxx>
Date:   Tue Aug 29 13:15:50 2017 +1200

Bug 1713598: set a potential array up as empty array and not string

behatnotneeded

Change-Id: I6bb781bb556202cdfadf08997e0da8e22ca26352
Signed-off-by: Robert Lyon <robertl@xxxxxxxxxxxxxxx>

-- 
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/1713598

Title:
  [] operator not supported for strings

Status in Mahara:
  Fix Committed

Bug description:
  This error can happen when a variable is defined as a string to begin
  with then is treated as an array, for example:

  $test = '';

  Then

  $test[] = 'cats';

To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1713598/+subscriptions


References