Code

break in array index
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 04:47:52 +0000 (04:47 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 17 Oct 2005 04:47:52 +0000 (04:47 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@1576 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/systems/class_workstationStartup.inc

index a748f40ce3d81b8a00c25a6ec73281279a4aab8e..6a0406689a5d95926492710656cb83041688a833 100644 (file)
@@ -129,8 +129,7 @@ class workstartup extends plugin
      */
     if(isset($_POST['gotoShareAdd'])){
       /* 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['gotoShareMountPoi
-nt']))){
+      if((!isset($_POST['gotoShareMountPoint']))||(empty($_POST['gotoShareMountPoint']))||(preg_match("/[\|]/i",$_POST['gotoShareMountPoint']))){
         print_red(_("You must specify a valid mount point."));
       }else{
         $a_share = $this->gotoAvailableShares[$_POST['gotoShareSelection']];