forked from friendica/friendica-addons
		
	Replace x() by !empty() or defaults()
- Remove extraneous parentheses around !empty()
This commit is contained in:
		
					parent
					
						
							
								074493a29e
							
						
					
				
			
			
				commit
				
					
						d836593a3b
					
				
			
		
					 42 changed files with 80 additions and 80 deletions
				
			
		| 
						 | 
				
			
			@ -183,7 +183,7 @@ function js_upload_post_file(&$a,&$b) {
 | 
			
		|||
function js_upload_post_end(&$a,&$b) {
 | 
			
		||||
 | 
			
		||||
Logger::log('upload_post_end');
 | 
			
		||||
	if(x($a->data,'upload_jsonresponse')) {
 | 
			
		||||
	if(!empty($a->data['upload_jsonresponse'])) {
 | 
			
		||||
		echo $a->data['upload_jsonresponse'];
 | 
			
		||||
		killme();
 | 
			
		||||
	}
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue