diff options
| author | Cassio de Campos <cassiopc@gmail.com> | 2017-08-12 19:35:58 +0000 |
|---|---|---|
| committer | Cassio de Campos <cassiopc@gmail.com> | 2017-08-12 19:35:58 +0000 |
| commit | fa27ff37459edba3d72235969743aa84bbe7edcb (patch) | |
| tree | 4e42eb2ce2f7acc971ea49a41748a19f97701e91 /src | |
| parent | 3dd230e00ab5638d57a6072260d1a1dc745e8ad0 (diff) | |
| download | boca-fa27ff37459edba3d72235969743aa84bbe7edcb.tar.gz boca-fa27ff37459edba3d72235969743aa84bbe7edcb.zip | |
clean string from autocorrect
Diffstat (limited to 'src')
| -rwxr-xr-x | src/private/autojudging.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/private/autojudging.php b/src/private/autojudging.php index c5b5556..6f913b7 100755 --- a/src/private/autojudging.php +++ b/src/private/autojudging.php @@ -477,6 +477,7 @@ if($retval != 0) { $answertmp = ''; if(count($dif) > 0) $answertmp = substr(trim($dif[count($dif)-1]),0,200); + $answertmp = sanitizeText($answertmp); fclose($fp); foreach (glob($dir . $ds . '*') as $fne) { @chown($fne,"nobody"); |