From: hickert Date: Thu, 20 Sep 2007 12:53:54 +0000 (+0000) Subject: Fixed goShare Server X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=ac3bdc5da3e144589e1f278220a648e371fc4695;p=gosa.git Fixed goShare Server git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@7357 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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()) {