done a few fixes for newer php-versions

Signed-off-by: Michael Kaufmann (d00p) <d00p@froxlor.org>
Merge branch 'master' of github.com:Froxlor/Froxlor