bug 893: Doh, forgot to adjust variable after copy & paste
[cacert-devel.git] / 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`