- workaround for undefined variables (needed after template merge)

git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@122 a1433add-5e2c-0410-b055-b7f2511e0802
postfixadmin-2.3
Christian Boltz 17 years ago
parent 5712070060
commit 76af386cb7

@ -62,6 +62,9 @@ if ($_SERVER['REQUEST_METHOD'] == "GET")
if (check_owner ($SESSID_USERNAME, $fDomain)) if (check_owner ($SESSID_USERNAME, $fDomain))
{ {
$tCanAddAlias = 1; # TODO: workaround for undefined variable
$tCanAddMailbox = 1; # TODO: workaround for undefined variable
$query = "SELECT $table_alias.address,$table_alias.goto,$table_alias.modified,$table_alias.active FROM $table_alias LEFT JOIN $table_mailbox ON $table_alias.address=$table_mailbox.username WHERE $table_alias.domain='$fDomain' AND $table_mailbox.maildir IS NULL ORDER BY $table_alias.address LIMIT $limitSql"; $query = "SELECT $table_alias.address,$table_alias.goto,$table_alias.modified,$table_alias.active FROM $table_alias LEFT JOIN $table_mailbox ON $table_alias.address=$table_mailbox.username WHERE $table_alias.domain='$fDomain' AND $table_mailbox.maildir IS NULL ORDER BY $table_alias.address LIMIT $limitSql";
if ('pgsql'==$CONF['database_type']) if ('pgsql'==$CONF['database_type'])
{ {

Loading…
Cancel
Save