Fix PHP notice when submitting 'design' admin panel on a browser that doesn't support file uploads such as Mobile Safari
This commit is contained in:
		| @@ -258,8 +258,8 @@ class DesignadminpanelAction extends AdminPanelAction | |||||||
|     function saveBackgroundImage() |     function saveBackgroundImage() | ||||||
|     { |     { | ||||||
|         $filename = null; |         $filename = null; | ||||||
|  |         if (isset($_FILES['design_background-image_file']['error']) && | ||||||
|         if ($_FILES['design_background-image_file']['error'] == |             $_FILES['design_background-image_file']['error'] == | ||||||
|             UPLOAD_ERR_OK) { |             UPLOAD_ERR_OK) { | ||||||
|  |  | ||||||
|             $filepath = null; |             $filepath = null; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user