summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 539ff5c)
raw | patch | inline | side by side (parent: 539ff5c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Oct 2008 10:01:09 +0000 (10:01 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 23 Oct 2008 10:01:09 +0000 (10:01 +0000) |
-Avoid adding empty shares.
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12764 594d385d-05f5-0310-b6e9-bd551577e9d8
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 | patch | blob | history |
diff --git a/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc b/gosa-plugins/goto/admin/systems/goto/class_terminalStartup.inc
index acdd4af3cf05c8bc8abb83551f620c6c4db6ca72..7cc70515d2685188446cccbe3e7ceb06e59a65ae 100644 (file)
/* 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 */