diff options
author | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-14 17:36:49 +0000 |
---|---|---|
committer | marcus <marcus@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2008-11-14 17:36:49 +0000 |
commit | 4221dca9e20c1813e55cfcfacb3254decf6392d2 (patch) | |
tree | 0896a3a56bab21128f0f5a2d836deccffc81da98 /engine | |
parent | 5c46cd16fa3888f006cee48db8fc49463002b44b (diff) | |
download | elgg-4221dca9e20c1813e55cfcfacb3254decf6392d2.tar.gz elgg-4221dca9e20c1813e55cfcfacb3254decf6392d2.tar.bz2 |
"Undefined" messages tidied up
git-svn-id: https://code.elgg.org/elgg/trunk@2450 36083f99-b078-4883-b0ff-0f9b5a30f544
Diffstat (limited to 'engine')
-rw-r--r-- | engine/lib/river.php | 4 |
1 files 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 = ""; |