From 5f9f709a70c8882fb2e8718f90077413de46a8c8 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Tue, 11 Jun 2013 10:21:28 +0200 Subject: [PATCH] Fix: vars must be cleaned for next call --- htdocs/core/class/hookmanager.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/htdocs/core/class/hookmanager.class.php b/htdocs/core/class/hookmanager.class.php index 58c7063e40a..a98886cfa9d 100755 --- a/htdocs/core/class/hookmanager.class.php +++ b/htdocs/core/class/hookmanager.class.php @@ -188,6 +188,9 @@ class HookManager //print "method=".$method." results=".count($actionclassinstance->results)." resprints=".count($actionclassinstance->resprints)." result=".$result." resaction=".$resaction; } + + unset($actionclassinstance->results); + unset($actionclassinstance->resprints); } }