diff options
Diffstat (limited to 'views/default/layout')
-rw-r--r-- | views/default/layout/objects/list/body.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/views/default/layout/objects/list/body.php b/views/default/layout/objects/list/body.php index 9bef21da9..8a59cd364 100644 --- a/views/default/layout/objects/list/body.php +++ b/views/default/layout/objects/list/body.php @@ -10,7 +10,7 @@ * <div class="elgg-list-content">Excerpt text</div> * * @uses $vars['entity'] ElggEntity - * @uses $vars['title'] Title link (optional) + * @uses $vars['title'] Title link (optional) false = no title, '' = default * @uses $vars['metadata'] HTML for entity metadata and actions (optional) * @uses $vars['subtitle'] HTML for the subtitle (optional) * @uses $vars['tags'] HTML for the tags (optional) @@ -20,7 +20,7 @@ $entity = $vars['entity']; $title_link = elgg_get_array_value('title', $vars, ''); -if (!$title_link) { +if ($title_link === '') { $params = array( 'text' => $entity->title, 'href' => $entity->getURL(), |