From 7627aaa2d7b45e579cad7b4bb8101abe0fe446f2 Mon Sep 17 00:00:00 2001 From: Flamenco Date: Thu, 15 Mar 2018 15:12:32 -0400 Subject: [PATCH] Give plugins priority 0 a chance to handle --- error.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/error.php b/error.php index 71b7d35..1b781f4 100644 --- a/error.php +++ b/error.php @@ -16,7 +16,7 @@ class ErrorPlugin extends Plugin public static function getSubscribedEvents() { return [ - 'onPageNotFound' => ['onPageNotFound', 0], + 'onPageNotFound' => ['onPageNotFound', -10], 'onGetPageTemplates' => ['onGetPageTemplates', 0], 'onTwigTemplatePaths' => ['onTwigTemplatePaths', -10] ];