fix search_account if fetched from ref
This commit is contained in:
parent
5c0ace0c89
commit
5750448dd2
@ -109,7 +109,8 @@ if (!$sortfield) {
|
|||||||
$object = new Account($db);
|
$object = new Account($db);
|
||||||
if ($id > 0 || !empty($ref)) {
|
if ($id > 0 || !empty($ref)) {
|
||||||
$result = $object->fetch($id, $ref);
|
$result = $object->fetch($id, $ref);
|
||||||
$account = $object->id; // Force the search field on id of account
|
// if fetch from ref, $id may be empty
|
||||||
|
$id = $object->id; // Force the search field on id of account
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user