diff --git a/htdocs/user/group/perms.php b/htdocs/user/group/perms.php index 88a048d8148..6dfd3595bdf 100644 --- a/htdocs/user/group/perms.php +++ b/htdocs/user/group/perms.php @@ -524,7 +524,7 @@ foreach ($arrayofpermission as $i => $obj) { // Own permission by group if ($permissiontoedit) { print ''; - print 'id.'&confirm=yes&updatedmodulename='.$obj->module.'">'; + print 'id.'&confirm=yes&updatedmodulename='.$obj->module.'">'; //print img_edit_remove($langs->trans("Remove")); print img_picto($langs->trans("Remove"), 'switch_on'); print ''; @@ -539,7 +539,7 @@ foreach ($arrayofpermission as $i => $obj) { // Do not own permission if ($permissiontoedit) { print ''; - print 'id.'&confirm=yes&updatedmodulename='.$obj->module.'">'; + print 'id.'&confirm=yes&updatedmodulename='.$obj->module.'">'; //print img_edit_add($langs->trans("Add")); print img_picto($langs->trans("Add"), 'switch_off'); print ''; diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php index d7a9cc1ad66..8630a34aa48 100644 --- a/htdocs/user/perms.php +++ b/htdocs/user/perms.php @@ -674,7 +674,7 @@ foreach ($arrayofpermission as $i => $obj) { print ''; print ''; - // Permission and tick (2 columns) + // Permission and tick (2 columns) if (!empty($object->admin) && !empty($objMod->rights_admin_allowed)) { // Permission granted because admin print ''; if ($caneditperms) { @@ -692,7 +692,7 @@ foreach ($arrayofpermission as $i => $obj) { print ''; if ($caneditperms) { print ''; - print ' $object->id, 'action' => 'delrights', 'entity' => $entity, 'rights' => $obj->id, 'confirm' => 'yes', 'updatedmodulename' => $obj->module], true).'">'; + print ' $object->id, 'action' => 'delrights', 'entity' => $entity, 'rights' => $obj->id, 'confirm' => 'yes', 'updatedmodulename' => $obj->module], true).'">'; //print img_edit_remove($langs->trans("Remove")); print img_picto($langs->trans("Remove"), 'switch_on'); print ''; @@ -718,7 +718,7 @@ foreach ($arrayofpermission as $i => $obj) { // Do not own permission if ($caneditperms) { print ''; - print ' $object->id, 'action' => 'addrights', 'entity' => $entity, 'rights' => $obj->id, 'confirm' => 'yes', 'updatedmodulename' => $obj->module], true).'">'; + print ' $object->id, 'action' => 'addrights', 'entity' => $entity, 'rights' => $obj->id, 'confirm' => 'yes', 'updatedmodulename' => $obj->module], true).'">'; //print img_edit_add($langs->trans("Add")); print img_picto($langs->trans("Add"), 'switch_off'); print ''; @@ -736,7 +736,7 @@ foreach ($arrayofpermission as $i => $obj) { print ''; if ($caneditperms) { print ''; - print ' $object->id, 'action' => 'addrights', 'entity' => $entity, 'rights' => $obj->id, 'confirm' => 'yes', 'updatedmodulename' => $obj->module], true).'">'; + print ' $object->id, 'action' => 'addrights', 'entity' => $entity, 'rights' => $obj->id, 'confirm' => 'yes', 'updatedmodulename' => $obj->module], true).'">'; //print img_edit_add($langs->trans("Add")); print img_picto($langs->trans("Add"), 'switch_off'); print '';