From 481b8a01240b506454a775026696638ce6244387 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 3 Jul 2008 10:52:13 +0000 Subject: [PATCH] Updated copy&paste class -If the requested plugin class is not installed, don't break up with fatal error git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11524 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/include/class_CopyPasteHandler.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-core/include/class_CopyPasteHandler.inc b/gosa-core/include/class_CopyPasteHandler.inc index 244f7c7ee..4ceb83a1f 100644 --- a/gosa-core/include/class_CopyPasteHandler.inc +++ b/gosa-core/include/class_CopyPasteHandler.inc @@ -63,7 +63,7 @@ class CopyPasteHandler { */ function add_to_queue($dn,$action,$tab_class,$tab_object,$tab_acl_category) { - if(!class_exists($tab_class)){ + if(!class_available($tab_class)){ trigger_error(sprintf("Specified class object '%s' does not exists.",$tab_class)); return(FALSE); } -- 2.30.2