Update Module.class.php

Some if/else's failed after new setup  with php 5.4

php -v
PHP 5.4.35-0+deb7u2 (cli) (built: Nov 19 2014 07:56:24)
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2014 Zend Technologies
    with Suhosin v0.9.37-dev, Copyright (c) 2007-2014, by SektionEins GmbH