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

Ladder page not accessible on php 5.4.31 #36

Closed
polder opened this issue Mar 17, 2016 · 2 comments
Closed

Ladder page not accessible on php 5.4.31 #36

polder opened this issue Mar 17, 2016 · 2 comments
Labels

Comments

@polder
Copy link

polder commented Mar 17, 2016

XP block version: 2016022404 -> '2.1.1'
Moodle 3.0.2+ (Build: 20160225)
PHP 5.4.31 (minimum version required by moodle 3.0.2+ is 5.4.4)

Fatal error: Can't use method return value in write context in [......]\blocks\xp\ladder.php on line 62

In php <5.5 empty() only checks variables as anything else will result in a parse error. In other words, the following will not work: empty(trim($name)).

@FMCorz
Copy link
Owner

FMCorz commented Mar 17, 2016

Whoops. Thank you. Will fix this ASAP.

@FMCorz FMCorz added the bug label Mar 17, 2016
@nezmo1
Copy link

nezmo1 commented Mar 23, 2016

Ole,
I am lil programmer but I have soloution for this!

screenshot_2

@FMCorz FMCorz closed this as completed in 216d0cf Mar 27, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants