changeset 5 | ebf8868e99f5 |
parent 1 | 58094faf794d |
child 8 | 47dd15d8bb8c |
--- a/inc/record.inc.php Tue Apr 17 19:43:24 2007 +0000 +++ b/inc/record.inc.php Tue Apr 17 21:18:14 2007 +0000 @@ -1054,7 +1054,7 @@ break; case '1' : - $sqlq = "SELECT `domains`.*, count(`records`.`id`) AS `numrec`, `zones`.`owner` + $sqlq = "SELECT `domains`.*, count(`records`.`id`) AS `numrec`, `zones`.`owner`, `records`.`domain_id` FROM `domains`, `records`, `zones` WHERE `domains`.`id` = `records`.`domain_id` AND `zones`.`domain_id` = `domains`.`id`