summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalvis2009-12-20 23:48:43 (GMT)
committer salvis2009-12-20 23:48:43 (GMT)
commit284ca4ae173123151a2b0604e75984e6f0e8aa2f (patch)
tree129c8c49fdc8b90c688944727204e2384639abec
parent306fd114002a6977d498addd18e7e169ec818e40 (diff)
Fix minor cosmetic bug (show '0' instead of nothing for FALSE).
-rw-r--r--devel_node_access.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/devel_node_access.module b/devel_node_access.module
index 0bb6b4a..aac4b5c 100644
--- a/devel_node_access.module
+++ b/devel_node_access.module
@@ -427,7 +427,7 @@ function devel_node_access_block($op = 'list', $delta = 0) {
$row["grant_$op"]['title'] = t('This entry grants access to this node to this user.');
}
if (isset($grant["grant_$op!"])) {
- $row["grant_$op"]['data'] = $grant["grant_$op!"] .'>'. $row["grant_$op"]['data'];
+ $row["grant_$op"]['data'] = $grant["grant_$op!"] .'>'. (!$row["grant_$op"]['data'] ? 0 : $row["grant_$op"]['data']);
$row["grant_$op"]['class'] = 'error';
}
}