mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
PFAHandler.php:
- fix view() to use associative array key git-svn-id: https://svn.code.sf.net/p/postfixadmin/code/trunk@1273 a1433add-5e2c-0410-b055-b7f2511e0802
This commit is contained in:
parent
0730cdfc6f
commit
bfd4981433
@ -254,7 +254,7 @@ class PFAHandler {
|
||||
public function view($errors=true) {
|
||||
$result = $this->read_from_db(array($this->id_field => $this->id) );
|
||||
if (count($result) == 1) {
|
||||
$this->return = $result[0];
|
||||
$this->return = $result[$this->id];
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user