0
0
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:
Christian Boltz 2011-11-12 23:28:03 +00:00
parent a0e59f82b9
commit 157034d8fe

View File

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