From 0581e6420da160b9ea61b332db4b112aa3091774 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Tue, 21 Nov 2017 17:58:24 +0100 Subject: [PATCH] Fix history data dialog for base 64 images on modules view - #1525 --- pandora_console/include/ajax/module.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 32de285b11..63946f4c2d 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -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
's