Skip to content

Commit

Permalink
Correcting Notice when saving Global Configuration (joomla#13612)
Browse files Browse the repository at this point in the history
* Correcting Notice

* simplifying. thanks joomladonation
  • Loading branch information
infograf768 authored and wilsonge committed Jan 20, 2017
1 parent b4b08b2 commit f2d72e5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion administrator/components/com_config/model/application.php
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ public function save($data)
{
$path = $data['cache_path'];
}
elseif (!$data['cache_path'] && $prev['cache_path'])
elseif (!empty($prev['cache_path']))
{
$path = $prev['cache_path'];
}
Expand Down

0 comments on commit f2d72e5

Please sign in to comment.