diff --git a/dokuwiki/action.php b/dokuwiki/action.php index 2f04203..bc12bb7 100644 --- a/dokuwiki/action.php +++ b/dokuwiki/action.php @@ -25,7 +25,11 @@ class action_plugin_brmburo extends \dokuwiki\Extension\ActionPlugin * @return void */ public function handleActionActPreprocess(Doku_Event $event, $param) { - + $act = act_clean($event->$data); + if ($act === 'payments') { + $event->preventDefault(); + echo "TEST"; + } } }