diff options
Diffstat (limited to 'includes/comment.inc')
-rw-r--r-- | includes/comment.inc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/includes/comment.inc b/includes/comment.inc index ed1e93c2f..6e01ada3d 100644 --- a/includes/comment.inc +++ b/includes/comment.inc @@ -325,6 +325,7 @@ function comment_render($lid, $cid) { global $link, $theme, $REQUEST_URI, $user; // Pre-process variables: + $lid = empty($lid) ? 0 : $lid; $cid = empty($cid) ? 0 : $cid; $mode = ($user->id) ? $user->mode : 4; $order = ($user->id) ? $user->sort : 1; |