mirror of
https://github.com/friendica/friendica
synced 2024-12-23 11:20:15 +00:00
Coding standards
This commit is contained in:
parent
1ff6b1cf18
commit
68316c6e85
1 changed files with 5 additions and 4 deletions
|
@ -68,6 +68,7 @@ class Tweets extends BaseApi
|
||||||
if (preg_match('/^#(\w+)$/', $searchTerm, $matches) === 1 && isset($matches[1])) {
|
if (preg_match('/^#(\w+)$/', $searchTerm, $matches) === 1 && isset($matches[1])) {
|
||||||
$searchTerm = $matches[1];
|
$searchTerm = $matches[1];
|
||||||
$condition = ["`iid` > ? AND `name` = ? AND (NOT `private` OR (`private` AND `uid` = ?))", $since_id, $searchTerm, $uid];
|
$condition = ["`iid` > ? AND `name` = ? AND (NOT `private` OR (`private` AND `uid` = ?))", $since_id, $searchTerm, $uid];
|
||||||
|
|
||||||
$tags = DBA::select('tag-search-view', ['uri-id'], $condition);
|
$tags = DBA::select('tag-search-view', ['uri-id'], $condition);
|
||||||
$uriids = [];
|
$uriids = [];
|
||||||
while ($tag = DBA::fetch($tags)) {
|
while ($tag = DBA::fetch($tags)) {
|
||||||
|
|
Loading…
Reference in a new issue