diff --git a/templates/admin_list-domain.php b/templates/admin_list-domain.php index b01e08b9..95c6dcbf 100644 --- a/templates/admin_list-domain.php +++ b/templates/admin_list-domain.php @@ -71,10 +71,10 @@ if (sizeof ($domain_properties) > 0) print "\n"; } if ($CONF['transport'] == 'YES') print "" . $domain_properties[$i]['transport'] . ""; - $backupmx = ($domain_properties[$i]['backupmx'] == 1) ? $PALANG['YES'] : $PALANG['NO']; + $backupmx = ($domain_properties[$i]['backupmx'] == db_get_boolean(true)) ? $PALANG['YES'] : $PALANG['NO']; print "$backupmx"; print "" . $domain_properties[$i]['modified'] . ""; - $active = ($domain_properties[$i]['active'] == 1) ? $PALANG['YES'] : $PALANG['NO']; + $active = ($domain_properties[$i]['active'] == db_get_boolean(true)) ? $PALANG['YES'] : $PALANG['NO']; print "" . $active . ""; print "" . $PALANG['edit'] . ""; print "" . $PALANG['del'] . "";