Fix history data dialog for base 64 images on modules view - #1525

This commit is contained in:
enriquecd 2017-11-21 17:58:24 +01:00
parent 1eb509371d
commit 0581e6420d
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ if ($get_module_detail) {
if ($attr[1] != "modules_format_data") {
$data[] = date('d F Y h:i:s A', $row['utimestamp']);
}
elseif (($config['command_snapshot']) && (preg_match ("/[\n]+/i", $row[$attr[0]]))) {
elseif (($config['command_snapshot'] == '0') && (preg_match ("/[\n]+/i", $row[$attr[0]]))) {
// Its a single-data, multiline data (data snapshot) ?
// Detect string data with \n and convert to <br>'s