fixing compliancy with newer php versions
fixes FlatTurtle/MyTurtleAdmin/#146
Merge branch 'master' of github.com:FlatTurtle/ControlBay
fixes MyTurtleAdmin/#146