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 | ||||
| 			); | ||||
| 
 | ||||
| 			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…
	
	Add table
		Add a link
		
	
		Reference in a new issue