Skip to content

Commit eb6a46e

Browse files
committed
A not existing hook function in a plugin will always cause a true return value to not break interrupt flow.
1 parent bfb869e commit eb6a46e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

library/ViMbAdmin/Plugin.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,7 @@ public function update( $controller, $action, $hook, OSS_Controller_Action $cont
7070
$hookfn = "{$controller}_{$action}_{$hook}";
7171
if( method_exists( $this, $hookfn ) )
7272
return $this->$hookfn( $controllerObject, $params );
73+
return true;
7374
}
7475

7576

0 commit comments

Comments
 (0)