diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-01-20 12:53:54 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-01-20 12:53:54 +0000 |
commit | e25c50b994ced3822bafd84d2358eddbdecf852f (patch) | |
tree | 065f1e12c7fedfa74b9eb0d31ebdd3eeb949cec5 /includes/comment.inc | |
parent | 7241d38e4c8107479611bb90c8a902dea34d711a (diff) | |
download | brdo-e25c50b994ced3822bafd84d2358eddbdecf852f.tar.gz brdo-e25c50b994ced3822bafd84d2358eddbdecf852f.tar.bz2 |
- 3 small bugfixes
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; |