From 13d6a4698999e21fe20ae0efe075b4fe7bc74077 Mon Sep 17 00:00:00 2001 From: hickert Date: Tue, 8 Jul 2008 08:50:33 +0000 Subject: [PATCH] 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 --- .../admin/systems/services/kerberos/class_goKrbServer.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.30.2