Merge branch 'MAINT_3_5_0' into QA_3_5

This commit is contained in:
Michal Čihař 2012-04-02 09:49:48 +02:00
commit 1d70667bdb

View File

@ -78,7 +78,7 @@ if (!empty($_POST) && isset($_POST['bug_encoded'])) {
$bug_encoded = $_POST['bug_encoded'];
}
if (!empty($bug_encoded)) {
if (!empty($bug_encoded) && is_string($bug_encoded)) {
if (function_exists('get_magic_quotes_gpc') && get_magic_quotes_gpc()) {
$bug_encoded = stripslashes($bug_encoded);
}