summaryrefslogtreecommitdiff
path: root/includes/comment.inc
diff options
context:
space:
mode:
Diffstat (limited to 'includes/comment.inc')
-rw-r--r--includes/comment.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/includes/comment.inc b/includes/comment.inc
index 744ab0f9b..c4587b124 100644
--- a/includes/comment.inc
+++ b/includes/comment.inc
@@ -1,4 +1,4 @@
-<?
+<?php
// Security check:
if (strstr($id, " ") || strstr($pid, " ") || strstr($lid, " ") || strstr($mode, " ") || strstr($order, " ") || strstr($threshold, " ")) {
@@ -238,7 +238,7 @@ function comment_visible($comment, $threshold = 0) {
function comment_uri($args = 0) {
global $link, $mod;
- if ($args) return ($mod) ? "module.php?mod=$mod&$args" : $link .".php?$args";
+ if ($args) return ($mod) ? "module.php?mod=$mod&$args" : $link .".php ?$args";
else return ($mod) ? "module.php?mod=$mod" : $link .".php";
}