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 Nov 2, 2015
1 parent a3f81ea commit 9564e6f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions administrator/components/com_admin/models/sysinfo.php
Expand Up @@ -200,12 +200,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 9564e6f

Please sign in to comment.