Skip to content

Commit

Permalink
Small Bug Fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
taufik-nurrohman committed Jun 16, 2020
1 parent 4d4786b commit 58afbca
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion engine/kernel/hook.php
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ public static function set($id = null, callable $fn, float $stack = 10) {
self::set((string) $v, $fn, $stack);
}
} else {
if (is_string($fn) && !empty(self::$lot[0][$c][$id][$fn]) || !empty(self::$lot[0][$c][$id])) {
if (is_string($fn) && !empty(self::$lot[0][$c][$id][$fn])) {
// Skip!
} else {
if (!isset(self::$lot[1][$c][$id])) {
Expand Down

0 comments on commit 58afbca

Please sign in to comment.