Commit 8d9792bd authored by salvis's avatar salvis

Fix minor cosmetic bug (show '0' instead of nothing for FALSE).

parent 6d43ee26
......@@ -397,7 +397,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';
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment