Skip to content

Commit 02da0ca

Browse files
committed
Fix E_NOTICE with Logger library
1 parent eaa2dab commit 02da0ca

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libraries/Logger.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ protected static function &getEventTypes() {
4242
$cache_val = Common::$cache->get($cache_key);
4343
if ($cache_val !== false) {
4444
self::$event_types = unserialize($cache_val);
45-
return;
45+
return self::$event_types;
4646
}
4747
if (!isset(Common::$database)) {
4848
Common::$database = DatabaseDriver::getDatabaseObject();

0 commit comments

Comments
 (0)