Fix trending tags variable name mistakes in Model\Term
This commit is contained in:
parent
e3ce18ebcf
commit
19adb9a1a0
|
@ -82,7 +82,7 @@ class Term
|
|||
$limit
|
||||
);
|
||||
|
||||
if (DBA::isResult($tags)) {
|
||||
if (DBA::isResult($tagsStmt)) {
|
||||
$tags = DBA::toArray($tagsStmt);
|
||||
Cache::set('global_trending_tags', $tags, Cache::HOUR);
|
||||
}
|
||||
|
@ -127,7 +127,7 @@ class Term
|
|||
$limit
|
||||
);
|
||||
|
||||
if (DBA::isResult($tags)) {
|
||||
if (DBA::isResult($tagsStmt)) {
|
||||
$tags = DBA::toArray($tagsStmt);
|
||||
Cache::set('local_trending_tags', $tags, Cache::HOUR);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user