0
0
mirror of https://github.com/postfixadmin/postfixadmin.git synced 2024-09-19 19:22:14 +02:00
This commit is contained in:
David Goodwin 2019-09-14 21:19:39 +01:00
parent 5e5e4a1c9b
commit c03a42e327

View File

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