functions.inc.php: fix as per Geoff Shangs report via email

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@710 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
David Goodwin 15 years ago
parent 98d9d0e525
commit c4002d5e0b

@ -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);

Loading…
Cancel
Save