Skip to content

Commit 5ae0329

Browse files
committed
Updated to 1.0.6 version
1 parent dc1a804 commit 5ae0329

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Hook/Hook.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ private function _runAction($action, $args) {
245245
return call_user_func_array([$obj, $method], $args);
246246
}
247247

248-
} else {
248+
} else if (class_exists($class)) {
249249

250250
$instance = new $class;
251251

0 commit comments

Comments
 (0)