From 0709dd7d7f98df88be921553740e43114fe684f4 Mon Sep 17 00:00:00 2001 From: Florent Bruneau Date: Mon, 22 Dec 2008 23:07:31 +0100 Subject: [PATCH] A module can redefine a previously defined handler. Signed-off-by: Florent Bruneau --- classes/platal.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/classes/platal.php b/classes/platal.php index 27cdd09..16b1955 100644 --- a/classes/platal.php +++ b/classes/platal.php @@ -62,7 +62,7 @@ abstract class Platal foreach ($modules as $module) { $module = strtolower($module); $this->__mods[$module] = $m = PLModule::factory($module); - $this->__hooks += $m->handlers(); + $this->__hooks = $m->handlers() + $this->__hooks; } if ($globals->mode == '') { -- 2.1.4