From: hickert Date: Thu, 3 Jul 2008 10:52:13 +0000 (+0000) Subject: Updated copy&paste class X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=481b8a01240b506454a775026696638ce6244387;p=gosa.git 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 --- 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); }