From: hickert Date: Tue, 8 Jul 2008 08:50:33 +0000 (+0000) Subject: Fixed Fatal Error in krbServer X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=13d6a4698999e21fe20ae0efe075b4fe7bc74077;p=gosa.git Fixed Fatal Error in krbServer -Added check to ensure that the reseusted class is avaiable. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@11550 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc index 250d3552b..36dc66694 100644 --- a/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc +++ b/gosa-plugins/mit-krb5/admin/systems/services/kerberos/class_goKrbServer.inc @@ -282,7 +282,7 @@ class goKrbServer extends goService{ /* Add new Policy requested */ - if(isset($_POST['policy_add'])){ + if(isset($_POST['policy_add']) && class_available("krb5_policy")){ $this->dialog = new krb5_policy($this->config,array(),$this); $this->id = -1; }