From ad9037a7e0e0415f3b00daabd2e52ad9815f46e0 Mon Sep 17 00:00:00 2001 From: enriquecd Date: Mon, 7 Nov 2016 13:49:33 +0100 Subject: [PATCH] Fix icon bug and async string data without data:image string, Pandora UX #90 (cherry picked from commit 367c88fc9e6643cb707b000dc572e784adafe34c) --- pandora_console/include/ajax/module.php | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/pandora_console/include/ajax/module.php b/pandora_console/include/ajax/module.php index 5fd667c2e0..640ef1acd5 100755 --- a/pandora_console/include/ajax/module.php +++ b/pandora_console/include/ajax/module.php @@ -251,7 +251,7 @@ if ($get_module_detail) { foreach ($columns as $col => $attr) { if ($attr[1] != "modules_format_data") { - $data[] = date('d F Y - h:i:s A', $row['utimestamp']); + $data[] = date('d F Y h:i:s A', $row['utimestamp']); } elseif (($config['command_snapshot']) && (preg_match ("/[\n]+/i", $row[$attr[0]]))) { @@ -294,7 +294,17 @@ if ($get_module_detail) { $data[] = 'No data'; } else { + + if(is_snapshot_data($row[$attr[0]])){ $data[] = ""; + } + else{ + $data[] = $row[$attr[0]]; + } + + + + } } }