Replace AND and OR in PHP conditions by && and ||
This commit is contained in:
		
					parent
					
						
							
								bee6ad5916
							
						
					
				
			
			
				commit
				
					
						9c0d2c31e8
					
				
			
		
					 83 changed files with 596 additions and 596 deletions
				
			
		| 
						 | 
				
			
			@ -29,7 +29,7 @@ if (isset($_COOKIE["Friendica"])) {
 | 
			
		|||
			new_cookie($authcookiedays*24*60*60, $r[0]);
 | 
			
		||||
 | 
			
		||||
			// Do the authentification if not done by now
 | 
			
		||||
			if (!isset($_SESSION) OR !isset($_SESSION['authenticated'])) {
 | 
			
		||||
			if (!isset($_SESSION) || !isset($_SESSION['authenticated'])) {
 | 
			
		||||
				authenticate_success($r[0]);
 | 
			
		||||
 | 
			
		||||
				if (get_config('system','paranoia'))
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue