From: hickert Date: Thu, 23 Oct 2008 10:01:09 +0000 (+0000) Subject: Updated Terminals X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=75512f252c206cf67f1d841848ad35f605120708;p=gosa.git Updated Terminals -Avoid adding empty shares. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12764 594d385d-05f5-0310-b6e9-bd551577e9d8 --- 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 */