forked from GNUsocial/gnu-social
		
	[RedisCache] Fix use of undefined variable
This commit is contained in:
		
				
					committed by
					
						 Diogo Cordeiro
						Diogo Cordeiro
					
				
			
			
				
	
			
			
			
						parent
						
							e2e8885ce3
						
					
				
				
					commit
					05be2e7386
				
			| @@ -115,7 +115,7 @@ class RedisCachePlugin extends Plugin | ||||
|         } | ||||
|  | ||||
|         // Let other caches delete stuff if we didn't succeed | ||||
|         return $ret === 1; | ||||
|         return isset($ret) && $ret === 1; | ||||
|     } | ||||
|  | ||||
|     function onStartCacheIncrement(&$key, &$step, &$value) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user