summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--includes/notary.inc.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/notary.inc.php b/includes/notary.inc.php
index 1fcd825..819fb0b 100644
--- a/includes/notary.inc.php
+++ b/includes/notary.inc.php
@@ -814,7 +814,7 @@
$query =
"select `domaincerts`.`id`
from `domaincerts`
- where `domaincerts`.`domid` = '$id'
+ where `domaincerts`.`domid` = '$domainid'
union distinct
select `domaincerts`.`id`
from `domaincerts`, `domlink`