aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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,