mirror of
https://github.com/friendica/friendica
synced 2024-12-23 08:00:16 +00:00
Fix trending tags variable name mistakes in Model\Term
This commit is contained in:
parent
e3ce18ebcf
commit
19adb9a1a0
1 changed files with 2 additions and 2 deletions
|
@ -82,7 +82,7 @@ class Term
|
||||||
$limit
|
$limit
|
||||||
);
|
);
|
||||||
|
|
||||||
if (DBA::isResult($tags)) {
|
if (DBA::isResult($tagsStmt)) {
|
||||||
$tags = DBA::toArray($tagsStmt);
|
$tags = DBA::toArray($tagsStmt);
|
||||||
Cache::set('global_trending_tags', $tags, Cache::HOUR);
|
Cache::set('global_trending_tags', $tags, Cache::HOUR);
|
||||||
}
|
}
|
||||||
|
@ -127,7 +127,7 @@ class Term
|
||||||
$limit
|
$limit
|
||||||
);
|
);
|
||||||
|
|
||||||
if (DBA::isResult($tags)) {
|
if (DBA::isResult($tagsStmt)) {
|
||||||
$tags = DBA::toArray($tagsStmt);
|
$tags = DBA::toArray($tagsStmt);
|
||||||
Cache::set('local_trending_tags', $tags, Cache::HOUR);
|
Cache::set('local_trending_tags', $tags, Cache::HOUR);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue