Bugfix
This commit is contained in:
parent
efe459b818
commit
4a51b4ad9b
@ -32,7 +32,7 @@ class Logger
|
||||
*/
|
||||
public static function constructor(&$mode, &$optional = null, $prefix = '')
|
||||
{
|
||||
if ($mode == null) {
|
||||
if ($mode === null) {
|
||||
throw new Exception('No mode was specified!');
|
||||
}
|
||||
self::$mode = &$mode;
|
||||
|
Loading…
Reference in New Issue
Block a user