aboutsummaryrefslogtreecommitdiff
path: root/engine
diff options
context:
space:
mode:
Diffstat (limited to 'engine')
-rw-r--r--engine/lib/river.php4
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 = "";