From e25c50b994ced3822bafd84d2358eddbdecf852f Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sat, 20 Jan 2001 12:53:54 +0000 Subject: - 3 small bugfixes --- includes/comment.inc | 1 + 1 file changed, 1 insertion(+) (limited to 'includes/comment.inc') 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; -- cgit v1.2.3