Commit dba36d36 authored by David Morley's avatar David Morley

Merge pull request #14 from votacom/master

Bugfix: last "fix" disabled rating
parents e7201165 2b1924fb
......@@ -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