mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
fix uninitialiseed variable for v_active
git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@23 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
da8dd4f273
commit
051876ac18
@ -103,8 +103,11 @@ if ($result['rows'] > 0)
|
||||
$row['created']=gmstrftime('%c %Z',$row['uts_created']);
|
||||
$row['modified']=gmstrftime('%c %Z',$row['uts_modified']);
|
||||
$row['active']=('t'==$row['active']) ? 1 : 0;
|
||||
$row['v_active'] = 1; // default to off...
|
||||
if(isset($row['v_active'])) { /* key may not be present in results due to query from above */
|
||||
$row['v_active']=('t'==$row['v_active']) ? 1 : 0;
|
||||
}
|
||||
}
|
||||
$tMailbox[] = $row;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user