From cf2fe1342c07a22b1bdfd3b55d8e923c4b38b6fd Mon Sep 17 00:00:00 2001 From: Simon Josefsson Date: Fri, 12 Mar 2010 10:10:24 +0000 Subject: [PATCH] Typo. --- ykval-checksum-clients.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ykval-checksum-clients.php b/ykval-checksum-clients.php index 045dd23..61490fa 100755 --- a/ykval-checksum-clients.php +++ b/ykval-checksum-clients.php @@ -39,7 +39,7 @@ $result=$db->customQuery("SELECT id, active, secret ". "FROM clients ". "ORDER BY id"); while($row = $result->fetch(PDO::FETCH_ASSOC)) { - if ($row['active'] = "") { + if ($row['active'] == "") { # For some reason PostgreSQL returns empty strings for false values?! $row['active'] = "0"; }