From 3874056f3ce765158f56e6191f62a31a289bb273 Mon Sep 17 00:00:00 2001 From: Gunnar Wrobel
Date: Wed, 9 Sep 2009 09:23:30 +0200 Subject: [PATCH] instanceOf instead of is_a() --- framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php b/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php index 5c5a3b2c9..7f690cf02 100644 --- a/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php +++ b/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php @@ -1011,7 +1011,7 @@ class Horde_Kolab_Format_Xml @include_once 'Horde/Prefs/CategoryManager.php'; if ($this->_create_categories && class_exists('Prefs_CategoryManager') - && isset($prefs) && is_a($prefs, 'Prefs')) { + && isset($prefs) && $prefs instanceOf Prefs) { $cManager = new Prefs_CategoryManager(); $horde_categories = $cManager->get(); } else { -- 2.11.0