From 2922e74bada7c0013207ce5daa03caaba9880733 Mon Sep 17 00:00:00 2001 From: llaffont <llaffont@afi-sa.fr> Date: Mon, 19 Oct 2015 15:44:29 +0200 Subject: [PATCH] Fix InspectorGadget unserialization --- library/ZendAfi/Controller/Plugin/InspectorGadget.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/library/ZendAfi/Controller/Plugin/InspectorGadget.php b/library/ZendAfi/Controller/Plugin/InspectorGadget.php index 56182b3220f..bac61c57aa3 100644 --- a/library/ZendAfi/Controller/Plugin/InspectorGadget.php +++ b/library/ZendAfi/Controller/Plugin/InspectorGadget.php @@ -120,7 +120,7 @@ class ZendAfi_Controller_Plugin_InspectorGadget extends Zend_Controller_Plugin_A }, $this->_calls); - foreach($this->_calls as $call) + foreach(array_filter($this->_calls, 'is_object') as $call) $html .= '<li>' . $call->render() . '</li>'; return $html . '</ol></div>'; -- GitLab