summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorsalvis2010-02-13 15:36:05 (GMT)
committersalvis2010-02-13 15:36:05 (GMT)
commitf4a275249383d0393c6f8989104a94f83abe1a2f (patch)
treea4fdd99a44401105c6956032eeaf67a256277fad
parent11ca6cd819fd377d70cbb29a65dc7162f65ba159 (diff)
Fix title of debug-mode node links.6.x-1.19
-rw-r--r--devel_node_access.module6
1 files changed, 3 insertions, 3 deletions
diff --git a/devel_node_access.module b/devel_node_access.module
index aac4b5c..1e00543 100644
--- a/devel_node_access.module
+++ b/devel_node_access.module
@@ -250,7 +250,7 @@ function devel_node_access_block($op = 'list', $delta = 0) {
$rows = array();
while ($row = db_fetch_object($result)) {
$explained = module_invoke_all('node_access_explain', $row);
- $rows[] = array('<a href="#node-'. $row->nid .'">'. _devel_node_access_get_node_title($row) .'</a>',
+ $rows[] = array('<a href="#node-'. $row->nid .'">'. _devel_node_access_get_node_title($row, TRUE) .'</a>',
$row->realm,
$row->gid,
$row->grant_view,
@@ -359,7 +359,7 @@ function devel_node_access_block($op = 'list', $delta = 0) {
}
$fixed_grant += array(
'nid' => $nid,
- '#title' => _devel_node_access_get_node_title($node, FALSE),
+ '#title' => _devel_node_access_get_node_title($node),
);
$all_grants[] = $fixed_grant;
}
@@ -753,7 +753,7 @@ function devel_node_access_node_access_explain($row) {
/**
* Helper function to return a sanitized node title.
*/
-function _devel_node_access_get_node_title($node, $clip_and_decorate = TRUE) {
+function _devel_node_access_get_node_title($node, $clip_and_decorate = FALSE) {
if (isset($node)) {
if (isset($node->title)) {
$node_title = check_plain($node->title);