Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 5.0.0-b2
-
Component/s: None
-
Labels:None
Description
AdminCompanyLookandfeel::customize() uses this code block which fails to properly consider the admin_url field
if (isset($this->post['admin_logo'])) { $logo_admin = null; $file_name = explode(DS, $this->post['admin_logo']); $file_name = end($file_name); if ($this->post['admin_type'] == 'logo') { $logo_admin = WEBDIR . 'uploads/themes/asset/' . $file_name; } elseif ($this->post['admin_type'] == 'url') { $logo_admin = trim($this->post['admin_url']); } $this->Companies->setSetting($this->company_id, 'logo_admin', $logo_admin); }
Similar for the client logo. Because of this you are unable to set a logo for either interface using the url fields.