diff --git a/htdocs/admin/perms.php b/htdocs/admin/perms.php
index eb348869b34..d3880586f41 100644
--- a/htdocs/admin/perms.php
+++ b/htdocs/admin/perms.php
@@ -127,7 +127,7 @@ print info_admin(showModulesExludedForExternal($modules)).'
'."\n";
print '
| '.$langs->trans('Field').' | '.$langs->trans('Value').' | '; +print ''; + +if ($block->fetch($id) > 0) +{ + $objtoshow = $block->object_data; + print formatObject($objtoshow, ''); } else { - echo json_encode(false); + print 'Error, failed to get unalterable log with id '.$id; +} + +print ''; +print '
|---|