diff --git a/php/domainlist.php b/php/domainlist.php
index 36f4c8a..0ab76dc 100644
--- a/php/domainlist.php
+++ b/php/domainlist.php
@@ -10,9 +10,9 @@ include("domainstatustypes.php");
" . _("You don't have any domains registered.") . "
");
}
@@ -20,7 +20,7 @@ else {
print("
" . _("Here is a list of your currently registered domains.") . "
");
printf("
%s
%s
",
_("Domain name"), _("Status"));
- while ($row=pg_fetch_array($result)) {
+ while ($row=db_fetch_array($result)) {
printf("
%s
%s
",
$row["domainname"], get_domainstatustype_name($row["status"]));
}
@@ -31,4 +31,4 @@ else {
\ No newline at end of file
+?>
diff --git a/php/setup.php b/php/setup.php
index 00af044..9b5b8d5 100644
--- a/php/setup.php
+++ b/php/setup.php
@@ -30,7 +30,7 @@ function country_selbox($varname, $default=0) {
global $dbh;
$result=db_query($dbh, "SELECT * FROM country ORDER BY name");
printf("