Reviewed:  https://reviews.mahara.org/7953
Committed: 
https://git.mahara.org/mahara/mahara/commit/bed303c9dba16f503e9ffa1169b5a40e8337f085
Submitter: Robert Lyon ([email protected])
Branch:    master

commit bed303c9dba16f503e9ffa1169b5a40e8337f085
Author: Robert Lyon <[email protected]>
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 <[email protected]>

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

_______________________________________________
Mailing list: https://launchpad.net/~mahara-contributors
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~mahara-contributors
More help   : https://help.launchpad.net/ListHelp

Reply via email to