← Back to team overview

mahara-contributors team mailing list archive

[Bug 1713598] [NEW] [] operator not supported for strings

 

Public bug reported:

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

** Affects: mahara
     Importance: Undecided
         Status: New

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

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


Follow ups