summaryrefslogtreecommitdiff
path: root/www-ssl/nonpublic
diff options
context:
space:
mode:
Diffstat (limited to 'www-ssl/nonpublic')
-rwxr-xr-xwww-ssl/nonpublic/news_comments.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/www-ssl/nonpublic/news_comments.php b/www-ssl/nonpublic/news_comments.php
index 99b42072..6e303cea 100755
--- a/www-ssl/nonpublic/news_comments.php
+++ b/www-ssl/nonpublic/news_comments.php
@@ -22,7 +22,7 @@ if( IsSet( $_GET["text"]))
}
}
-$SQL = "SELECT * FROM news_comments where Refid = ". $_GET["nid"]. " ORDER BY 'ID'";
+$SQL = "SELECT * FROM news_comments where Refid = '". $_GET["nid"]. "' ORDER BY 'ID'";
$Erg = mysql_query($SQL, $con);
echo mysql_error( $con);
// anzahl zeilen