mirror of
https://github.com/postfixadmin/postfixadmin.git
synced 2024-09-19 19:22:14 +02:00
try and avoid hitting : https://github.com/postfixadmin/postfixadmin/issues/51
This commit is contained in:
parent
5e5e4a1c9b
commit
c03a42e327
@ -749,7 +749,7 @@ abstract class PFAHandler {
|
||||
public function view($errors=true) {
|
||||
$result = $this->read_from_db(array($this->id_field => $this->id));
|
||||
if (count($result) == 1) {
|
||||
$this->result = $result[$this->id];
|
||||
$this->result = reset($result);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user