From 4221dca9e20c1813e55cfcfacb3254decf6392d2 Mon Sep 17 00:00:00 2001 From: marcus Date: Fri, 14 Nov 2008 17:36:49 +0000 Subject: "Undefined" messages tidied up git-svn-id: https://code.elgg.org/elgg/trunk@2450 36083f99-b078-4883-b0ff-0f9b5a30f544 --- engine/lib/river.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/engine/lib/river.php b/engine/lib/river.php index 8b447b2e6..676b0fce0 100644 --- a/engine/lib/river.php +++ b/engine/lib/river.php @@ -216,9 +216,9 @@ { // Get what we're talking about - if ($details['subtype'] == 'default') $details['subtype'] = ''; + if ((isset($details['subtype'])) && ($details['subtype'] == 'default')) $details['subtype'] = ''; - if (($details['type']) && ($details['event'])) { + if ((isset($details['type'])) && (isset($details['event']))) { if ($n>0) $obj_query .= " or "; $access = ""; -- cgit v1.2.3