← Back to team overview

mahara-contributors team mailing list archive

[Bug 1478374] Re: Fix syntax error in PHP 5.3

 

Actually, no, on further reflection this problem is new to 15.10. Mahara
15.04 has the same webservices_master_switch_form(), but it uses the
array as it is returned, whereas Mahara 15.10 only needs a part of the
array, due to a change in the surrounding Pieform (probably as part of
the big styling overhaul).

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

Title:
  Fix syntax error in PHP 5.3

Status in Mahara:
  In Progress
Status in Mahara 15.10 series:
  In Progress

Bug description:
  Version: master(15.10)

  I got the error if using PHP 5.3

  Parse error: syntax error, unexpected '[', expecting ')' in
  /home/sonn/code/mahara/master/htdocs/lib/web.php on line 2903

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


References