aboutsummaryrefslogtreecommitdiff
path: root/views/default/layout/objects/list/body.php
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-24 13:39:24 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2010-12-24 13:39:24 +0000
commitc7e2ad1a41eec3a4edc201fb62aa74fe0a0afa66 (patch)
treec574861c2f0fde78e9d866020243094dfecf3a66 /views/default/layout/objects/list/body.php
parent54dac8c96380082136b38532707c7b1e031549e8 (diff)
downloadelgg-c7e2ad1a41eec3a4edc201fb62aa74fe0a0afa66.tar.gz
elgg-c7e2ad1a41eec3a4edc201fb62aa74fe0a0afa66.tar.bz2
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
Diffstat (limited to 'views/default/layout/objects/list/body.php')
-rw-r--r--views/default/layout/objects/list/body.php4
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(),