|
|
@ -780,8 +780,8 @@ function list_domains_for_admin ($username)
|
|
|
|
$query = "SELECT $table_domain.domain, $table_domain_admins.username FROM $table_domain
|
|
|
|
$query = "SELECT $table_domain.domain, $table_domain_admins.username FROM $table_domain
|
|
|
|
LEFT JOIN $table_domain_admins ON $table_domain.domain=$table_domain_admins.domain
|
|
|
|
LEFT JOIN $table_domain_admins ON $table_domain.domain=$table_domain_admins.domain
|
|
|
|
WHERE $table_domain_admins.username='$username'
|
|
|
|
WHERE $table_domain_admins.username='$username'
|
|
|
|
AND $table_domain.active=$active_sql
|
|
|
|
AND $table_domain.active='$active_sql'
|
|
|
|
AND $table_domain.backupmx=$backupmx_sql
|
|
|
|
AND $table_domain.backupmx='$backupmx_sql'
|
|
|
|
ORDER BY $table_domain_admins.domain";
|
|
|
|
ORDER BY $table_domain_admins.domain";
|
|
|
|
|
|
|
|
|
|
|
|
$result = db_query ($query);
|
|
|
|
$result = db_query ($query);
|
|
|
|