Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fix Parse error: syntax error, unexpected T_STATIC #3964

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

zero-24 commented Jul 25, 2014

Parse error: syntax error, unexpected T_STATIC in JROOT/libraries/joomla/html/html/email.php on line 61

@zero-24 zero-24 Fix Parse error: syntax error, unexpected T_STATIC
Parse error: syntax error, unexpected T_STATIC in JROOT/libraries/joomla/html/html/email.php on line 61
bccf8b7
Contributor

zero-24 commented Jul 25, 2014

Fixed by RAB and format C: here:
http://www.joomlaportal.de/joomla-2-5-installation/312213-sammelthread-joomla-2-5-23-a-2.html

There are also serveral good tests.

Contributor

Bakual commented Jul 25, 2014

Using static like this is only allowed starting with PHP 5.3. That's why it works in Joomla 3 but not necessary in 2.5 where you can have older PHP versions.
👍

Contributor

Bakual commented Jul 25, 2014

Merged into 2.5.x branch. Thanks!

@Bakual Bakual closed this Jul 25, 2014

@zero-24 zero-24 deleted the unknown repository branch Jul 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment