You've already forked postfixadmin
mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2025-08-09 05:02:44 +03:00
functions.inc.php: remove dead code - active and backupmx are not selected by the query, so are not present in the results, and therefore cause php errors as they are not present in the array
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@20 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
@@ -605,11 +605,6 @@ function list_domains_for_admin ($username)
|
||||
$i = 0;
|
||||
while ($row = db_array ($result['result']))
|
||||
{
|
||||
if ('pgsql'==$CONF['database_type'])
|
||||
{
|
||||
$row['active'] = ('t'==$row['active'] ? 1 : 0);
|
||||
$row['backupmx'] = ('t'==$row['backupmx'] ? 1 : 0);
|
||||
}
|
||||
$list[$i] = $row['domain'];
|
||||
$i++;
|
||||
}
|
||||
|
Reference in New Issue
Block a user