From ac3bdc5da3e144589e1f278220a648e371fc4695 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 20 Sep 2007 12:53:54 +0000 Subject: [PATCH] Fixed goShare Server git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7357 594d385d-05f5-0310-b6e9-bd551577e9d8 --- plugins/admin/systems/class_goShareServer.inc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/admin/systems/class_goShareServer.inc b/plugins/admin/systems/class_goShareServer.inc index e865a960e..6f6347627 100644 --- a/plugins/admin/systems/class_goShareServer.inc +++ b/plugins/admin/systems/class_goShareServer.inc @@ -92,7 +92,7 @@ class goShareServer extends goService{ } /* Save NFS setup */ - if(isset($_POST['NFSsave'])){ + if(isset($_POST['NFSsave']) && isset($this->o_subWindow) && is_object($this->o_subWindow)){ if(count($this->o_subWindow->check())>0){ foreach($this->o_subWindow->check() as $msg) { print_red($msg); @@ -103,7 +103,7 @@ class goShareServer extends goService{ $this->addToList($newone); if($this->allow_mounts){ - if($this->oldone) { + if($this->oldone != NULL) { $this->deleteFromMountList($this->oldone); } if ($this->o_subWindow->should_create_mount()) { -- 2.30.2