User tests: Successful: Unsuccessful:
As title says:
Create a Site Settings menu item, display it in frontend.
Log as superadmin and save the site settings.
The Notice above will display in the PHP logs.
Patch. No more Notice.
Status | New | ⇒ | Pending |
Category | ⇒ | Administration com_config |
I have tested this item
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
We shouldn't have client specific handling in our save global configuration routine. Also, this now results in the $path variable being undefined when you get into the next check which would emit a PHP warning except for the fact we're using error suppression.
Would you prefer a simple:
if (isset($data['cache_path']))
{
$path = $data['cache_path'];
}
elseif (!empty($prev['cache_path']))
{
$path = $prev['cache_path'];
}
else
{
$path = JPATH_SITE . '/cache';
}
isset
would be better and more consistent with the existing checks.
Labels |
Added:
?
|
Done.
@AlexRed @franz-wohlkoenig
Please test again
Status | Ready to Commit | ⇒ | Pending |
Easy | No | ⇒ | Yes |
I have tested this item
I have tested this item
Patch ok for me
Status | Pending | ⇒ | Ready to Commit |
RTC
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-05-04 07:25:51 |
Closed_By | ⇒ | rdeutz |
I have tested this item✅ successfully on 46be6bb
Patch ok for me
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/15757.