mirror of
https://github.com/friendica/friendica
synced 2024-12-23 12:00:16 +00:00
Bugfix: Wrong function in search
This commit is contained in:
parent
22f4e3973e
commit
68c6788762
1 changed files with 2 additions and 2 deletions
|
@ -57,11 +57,11 @@ function search_init(App $a) {
|
||||||
dbesc($search)
|
dbesc($search)
|
||||||
);
|
);
|
||||||
if (!dbm::is_result($r)) {
|
if (!dbm::is_result($r)) {
|
||||||
dbm::insert('search', array('uid' => local_user(), 'term' => $search));
|
dba::insert('search', array('uid' => local_user(), 'term' => $search));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if (x($_GET,'remove') && $search) {
|
if (x($_GET,'remove') && $search) {
|
||||||
dbm::delete('search', array('uid' => local_user(), 'term' => $search));
|
dba::delete('search', array('uid' => local_user(), 'term' => $search));
|
||||||
}
|
}
|
||||||
|
|
||||||
$a->page['aside'] .= search_saved_searches();
|
$a->page['aside'] .= search_saved_searches();
|
||||||
|
|
Loading…
Reference in a new issue