Skip to content
New issue

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

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Parse error: syntax error, unexpected T_STATIC #3964

Closed
wants to merge 1 commit into
base: 2.5.x
from

Conversation

Projects
None yet
2 participants
@zero-24
Copy link
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

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
@zero-24

This comment has been minimized.

Copy link
Contributor Author

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.

@Bakual

This comment has been minimized.

Copy link
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.
👍

@Bakual

This comment has been minimized.

Copy link
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 zero-24:patch-12 branch Jul 25, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.