Bug of month: make sure that GetFilter returns a usable filter (i.e. with the parameters)

SVN:trunk[2326]
This commit is contained in:
Denis Flaven
2012-10-22 13:12:00 +00:00
parent 7b790cc84f
commit 9f47c09cdf
4 changed files with 21 additions and 23 deletions

View File

@@ -909,7 +909,7 @@ catch (Exception $e)
{
// note: transform to cope with XSS attacks
echo htmlentities($e->GetMessage(), ENT_QUOTES, 'utf-8');
echo "<p>Debug trace: <pre>".print_r($e->getTrace(), true)."</pre></p>\n";
echo "<p>Debug trace: <pre>".$e->getTraceAsString()."</pre></p>\n";
IssueLog::Error($e->getMessage());
}