From ba22ae45e7a33bd875fa4f25358eb4da4f32cc31 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Wed, 14 Nov 2018 13:45:20 +0100 Subject: [PATCH] Fix column balance --- htdocs/user/perms.php | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/htdocs/user/perms.php b/htdocs/user/perms.php index 5bb953c3a9d..cee13c53d1c 100644 --- a/htdocs/user/perms.php +++ b/htdocs/user/perms.php @@ -313,14 +313,17 @@ if ($result) print ''; print ''.img_object('',$picto,'class="pictoobjectwidth"').' '.$objMod->getName(); print ''; - print ''; if ($caneditperms && empty($objMod->rights_admin_allowed) || empty($object->admin)) { - print 'module.'">'.$langs->trans("All").""; - print '/'; - print 'module.'">'.$langs->trans("None").""; + if ($caneditperms) + { + print ''; + print 'module.'">'.$langs->trans("All").""; + print '/'; + print 'module.'">'.$langs->trans("None").""; + print ''; + } } - print ''; print ' '; print ''."\n"; }