aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-15 18:22:05 +0000
committermarcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544>2008-07-15 18:22:05 +0000
commit0d1a771a7238f723fcfcfb0feb399fb2478496a3 (patch)
tree1a0e84bd1676fa40129588eb177550d1d6dc0b2b
parenta60fe7eb3fbaa66feab578d8664073133acee05b (diff)
downloadelgg-0d1a771a7238f723fcfcfb0feb399fb2478496a3.tar.gz
elgg-0d1a771a7238f723fcfcfb0feb399fb2478496a3.tar.bz2
Fixes #147
git-svn-id: https://code.elgg.org/elgg/trunk@1431 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--mod/opendd/start.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/mod/opendd/start.php b/mod/opendd/start.php
index 67e0343ee..7799ec7c7 100644
--- a/mod/opendd/start.php
+++ b/mod/opendd/start.php
@@ -388,6 +388,7 @@
// If no fatal errors while extracting the necessary data then continue
if (($subject) && ($object) && ($event) && ($statement))
{
+ $tam = "";
// We have constructed the information
if ($object instanceof ElggEntity) {
@@ -410,7 +411,7 @@
}
- if (!empty($tam)) {
+ if ((!empty($tam)) && (trim($tam)!="")) {
$tam = elgg_view("river/wrapper",array(
'entry' => $tam,
'time' => $time,