mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
PFAHandler.php:
- read_from_db(): use associative array for database content (with $this->id_field as key) git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1268 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
a0e59f82b9
commit
157034d8fe
@ -237,7 +237,7 @@ class PFAHandler {
|
||||
$db_result = array();
|
||||
if ($result['rows'] != 0) {
|
||||
while ($row = db_assoc ($result['result'])) {
|
||||
$db_result[] = $row;
|
||||
$db_result[$row[$this->id_field]] = $row;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user