Merge branch '1525-Imagenes-WUX-no-salen-bien-en-histórico-4776-pelayo' into 'develop'

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

See merge request artica/pandorafms!1107
This commit is contained in:
vgilc 2018-01-29 12:55:14 +01:00
commit 5a198404b7
1 changed files with 1 additions and 1 deletions

View File

@ -283,7 +283,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