https://reisub.nsupdate.info/git
/
friendica.git
/
.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37b9031
)
Update src/Model/Profile.php
author
Michael Vogel
<icarus@dabo.de>
Sun, 26 Apr 2020 06:04:03 +0000
(08:04 +0200)
committer
GitHub
<noreply@github.com>
Sun, 26 Apr 2020 06:04:03 +0000
(08:04 +0200)
Co-Authored-By: Hypolite Petovan <hypolite@mrpetovan.com>
src/Model/Profile.php
patch
|
blob
|
history
diff --git
a/src/Model/Profile.php
b/src/Model/Profile.php
index
d834024
..
261c7cc
100644
(file)
--- a/
src/Model/Profile.php
+++ b/
src/Model/Profile.php
@@
-893,7
+893,8
@@
class Profile
if (!empty($search)) {
$searchTerm = '%' . $search . '%';
$cnt = DBA::fetchFirst("SELECT COUNT(*) AS `total` FROM `owner-view`
- WHERE $publish AND NOT `blocked` AND NOT `account_removed`
+ WHERE NOT `blocked` AND NOT `account_removed`
+ $publish
AND ((`name` LIKE ?) OR
(`nickname` LIKE ?) OR
(`about` LIKE ?) OR