Code

Fixed image button beaviour in application menus
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Mar 2010 10:11:01 +0000 (10:11 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 25 Mar 2010 10:11:01 +0000 (10:11 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17292 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc

index 457fc85f44817178993572391e2f5d28943e9671..78db0864b678b219b47cb9bd32dce9ea74a8ca45 100644 (file)
@@ -814,7 +814,7 @@ class appgroup extends plugin
   {
     foreach($_POST as $name => $value){
 
-      if(preg_match("/^menu_copy_/",$name)){
+      if(preg_match("/^menu_copy/",$name)){
         $this->copied_release = $this->FAIrelease;
         break;
       }
@@ -823,7 +823,7 @@ class appgroup extends plugin
         $this->_remove_entry_id($current_rel);
         break;
       }
-      if(preg_match("/^menu_paste_/",$name)){
+      if(preg_match("/^menu_paste/",$name)){
         $source_rel   = $this->_get_release_key($this->copied_release); 
         $current_rel  = $this->_get_release_key($this->FAIrelease);