From 75512f252c206cf67f1d841848ad35f605120708 Mon Sep 17 00:00:00 2001 From: hickert Date: Thu, 23 Oct 2008 10:01:09 +0000 Subject: [PATCH] Updated Terminals -Avoid adding empty shares. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12764 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc index acdd4af3c..7cc70515d 100644 --- a/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc +++ b/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc @@ -209,7 +209,7 @@ class termstartup extends plugin /* We assign a share to this user, if we don't know where to mount the share */ if((!isset($_POST['gotoShareMountPoint']))||(empty($_POST['gotoShareMountPoint']))||(preg_match("/[\|]/i",$_POST['gotoShareMountPoint']))){ msg_dialog::display(_("Error"), msgPool::invalid(_("Mount point")), WARNING_DIALOG); - }else{ + }elseif(!empty($_POST['gotoShareSelection'])){ $a_share = $this->gotoAvailableShares[$_POST['gotoShareSelection']]; $s_mount = $_POST['gotoShareMountPoint']; /* Preparing the new assignment */ -- 2.30.2