diff options
author | Michal Čihař <mcihar@suse.cz> | 2012-04-02 11:47:46 +0400 |
---|---|---|
committer | Michal Čihař <mcihar@suse.cz> | 2012-04-02 11:47:46 +0400 |
commit | 8972ac9c152c476bde8c538757bc443c4747f725 (patch) | |
tree | 48eae6ed2ec5276e8c02509e82e9edf2fee43ee5 /scripts | |
parent | 8d6e544bbc4bd2da3247dd9e1874d95f72363638 (diff) |
Verify we got string
Diffstat (limited to 'scripts')
-rw-r--r-- | scripts/decode_bug.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/decode_bug.php b/scripts/decode_bug.php index 2f55dcf4e9..f6038c22a1 100644 --- a/scripts/decode_bug.php +++ b/scripts/decode_bug.php @@ -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); } |