Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2015-02-27 00:09:17 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2015-02-27 00:09:17 +0300
commitd0dfcb9806f95464de6e902fdf74e1f8e046d387 (patch)
tree687f1579b87456e3ee66d0b289a21a74c363d4d8 /core/Common.php
parentb263d325ac23ad2b4b0d4c6ac66ffb0538d7c33f (diff)
Add linebreaks
Diffstat (limited to 'core/Common.php')
-rw-r--r--core/Common.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Common.php b/core/Common.php
index 791abc09a3..35db6692ce 100644
--- a/core/Common.php
+++ b/core/Common.php
@@ -1288,11 +1288,11 @@ class Common
$info = Common::sanitizeInputValues($info);
$out = var_export($info, true);
foreach (explode("\n", $out) as $line) {
- echo $line;
+ echo $line . "\n";
}
} else {
foreach (explode("\n", $info) as $line) {
- echo htmlspecialchars($line, ENT_QUOTES);
+ echo htmlspecialchars($line, ENT_QUOTES) . "\n";
}
}
}