projects
/
horde.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a2362bc
)
instanceOf instead of is_a()
author
Gunnar Wrobel
<p@rdus.de>
Wed, 9 Sep 2009 07:23:30 +0000
(09:23 +0200)
committer
Gunnar Wrobel
<p@rdus.de>
Wed, 9 Sep 2009 07:23:30 +0000
(09:23 +0200)
framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php
patch
|
blob
|
history
diff --git
a/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php
b/framework/Kolab_Format/lib/Horde/Kolab/Format/Xml.php
index
5c5a3b2
..
7f690cf
100644
(file)
--- 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 {