From c7e2ad1a41eec3a4edc201fb62aa74fe0a0afa66 Mon Sep 17 00:00:00 2001 From: cash Date: Fri, 24 Dec 2010 13:39:24 +0000 Subject: fixing a few display issues in the object/blog view git-svn-id: http://code.elgg.org/elgg/trunk@7718 36083f99-b078-4883-b0ff-0f9b5a30f544 --- views/default/layout/objects/list/body.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'views/default/layout/objects') 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 @@ *
Excerpt text
* * @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(), -- cgit v1.2.3