Skip to content
Extraits de code Groupes Projets
Valider 77948140 rédigé par robocoder's avatar robocoder
Parcourir les fichiers

filter newlines from description to avoid error reported in http://forum.piwik.org/read.php?2,80672

git-svn-id: http://dev.piwik.org/svn/trunk@5125 59fd770c-687e-43c8-a1e3-f5a4ff64c105
parent 98f93a4f
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -308,7 +308,9 @@ class Piwik_PDFReports_API ...@@ -308,7 +308,9 @@ class Piwik_PDFReports_API
} }
} }
} }
$description = str_replace(array("\r", "\n"), ' ', $description);
// The report will be rendered with the first 30 rows and will aggregate other rows in a summary row // The report will be rendered with the first 30 rows and will aggregate other rows in a summary row
$filterTruncateGET = Piwik_Common::getRequestVar('filter_truncate', false); $filterTruncateGET = Piwik_Common::getRequestVar('filter_truncate', false);
$_GET['filter_truncate'] = 30; $_GET['filter_truncate'] = 30;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter