Skip to content

Commit be4dde7

Browse files
committed
avoid warning in syntax/output
1 parent 3bd3c3d commit be4dde7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

syntax/output.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ public function render($format, Doku_Renderer $renderer, $data)
9797
return true;
9898
}
9999
}
100-
if ($ID != $INFO['id']) return true;
100+
if (!isset($INFO['id']) || ($ID != $INFO['id'])) return true;
101101
if (!$INFO['exists']) return true;
102102
if ($this->hasBeenRendered) return true;
103103
if (!preg_match(self::WHITELIST_ACTIONS, act_clean($ACT))) return true;

0 commit comments

Comments
 (0)