blesta / module-pterodactyl

Blesta API integration with Pterodactyl
MIT License
12 stars 7 forks source link

php requirements not met due to error use of expressions in _empty_ #17

Closed tysonphillips closed 4 years ago

tysonphillips commented 4 years ago

The module's php version is 5.4+, but parse errors are encountered on php 5.4 due to calls to empty which pass an expression rather than a value.

Line 148 and line 604 are definite offenders, but there could be more. empty must be given a variable rather than an expression as described in the docs.