Skip to content

Commit

Permalink
[imp] use always xxxxxx to hide private data when exporting sysinfo
Browse files Browse the repository at this point in the history
  • Loading branch information
phproberto committed Jul 17, 2015
1 parent ce8fcce commit 818c0c0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_admin/models/sysinfo.php
Original file line number Diff line number Diff line change
Expand Up @@ -192,12 +192,12 @@ protected function cleanSectionPrivateData($sectionValues)
{
if (!is_array($sectionValues))
{
return strlen($sectionValues) ? 'set' : 'not set';
return strlen($sectionValues) ? 'xxxxxx' : '';
}

foreach ($sectionValues as $setting => $value)
{
$sectionValues[$setting] = strlen($value) ? 'set' : 'not set';
$sectionValues[$setting] = strlen($value) ? 'xxxxxx' : '';
}

return $sectionValues;
Expand Down

0 comments on commit 818c0c0

Please sign in to comment.