forked from GNUsocial/gnu-social
		
	I was too quick to save that file (File::getByUrl takes 1 arg)
This commit is contained in:
		@@ -662,7 +662,7 @@ class Action extends HTMLOutputter // lawsuit
 | 
				
			|||||||
                    $httpUrl = common_config('site', 'logo');
 | 
					                    $httpUrl = common_config('site', 'logo');
 | 
				
			||||||
                    if (!empty($httpUrl)) {
 | 
					                    if (!empty($httpUrl)) {
 | 
				
			||||||
                        try {
 | 
					                        try {
 | 
				
			||||||
                            $f = File::getByUrl('url', $httpUrl);
 | 
					                            $f = File::getByUrl($httpUrl);
 | 
				
			||||||
                            if (!empty($f->filename)) {
 | 
					                            if (!empty($f->filename)) {
 | 
				
			||||||
                                // this will handle the HTTPS case
 | 
					                                // this will handle the HTTPS case
 | 
				
			||||||
                                $logoUrl = File::url($f->filename);
 | 
					                                $logoUrl = File::url($f->filename);
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user