bug 893: Doh, forgot to adjust variable after copy & paste
authorMichael Tänzer <neo@nhng.de>
Wed, 31 Jul 2013 20:19:29 +0000 (22:19 +0200)
committerMichael Tänzer <neo@nhng.de>
Wed, 31 Jul 2013 20:19:29 +0000 (22:19 +0200)
Signed-off-by: Michael Tänzer <neo@nhng.de>
includes/notary.inc.php

index 1fcd825..819fb0b 100644 (file)
                $query =
                        "select `domaincerts`.`id`
                                from `domaincerts`
-                               where `domaincerts`.`domid` = '$id'
+                               where `domaincerts`.`domid` = '$domainid'
                        union distinct
                        select `domaincerts`.`id`
                                from `domaincerts`, `domlink`