Commit 2b1924fb authored by Manuel Bichler's avatar Manuel Bichler

Bugfix: last "fix" disabled rating

parent 55d101e7
......@@ -40,7 +40,7 @@ $("#rating").prop( "value", value )
if (!$dbh) {
die("Error in connection: " . pg_last_error());
}
if (~ $_GET['domain']) {
if (is_null($_GET['domain'])) {
die("domain not specified");
}
$sql = "SELECT * FROM rating_comments WHERE domain = $1";
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment