Commit 4f0aa56baad152551f33d5a69e795bb9cd969667
1 parent
e494d1cb
Exists in
master
and in
7 other branches
Correção na aplicação de expressões em classes utilizando aspas duplas em ambiente windows
Showing
3 changed files
with
3 additions
and
2 deletions
Show diff stats
admin/admin.db
No preview for this file type
classesphp/classe_alteraclasse.php
... | ... | @@ -199,7 +199,7 @@ class Alteraclasse |
199 | 199 | */ |
200 | 200 | function alteraclasses($ids,$nomes,$exps,$base64="nao",$minScales="",$maxScales="") |
201 | 201 | { |
202 | - if($base64 == "sim"){ | |
202 | + if($base64 == "sim"){ | |
203 | 203 | //$ids = base64_decode($ids); |
204 | 204 | //$nomes = base64_decode($nomes); |
205 | 205 | //$exps = base64_decode($exps); | ... | ... |
classesphp/sani_request.php
... | ... | @@ -22,7 +22,8 @@ if (isset($_POST)){ |
22 | 22 | //var_dump( $_POST["cpaint_argument"]);exit; |
23 | 23 | $argumento_ = $_POST["cpaint_argument"][0]; |
24 | 24 | if (strtoupper(substr(PHP_OS, 0, 3) == 'WIN')){ |
25 | - $argumento_ = str_replace("\\\"","",$argumento_); | |
25 | + //$argumento_ = str_replace("\\\"","",$argumento_); | |
26 | + $argumento_ = str_replace("\"","",$argumento_); | |
26 | 27 | } |
27 | 28 | else{ |
28 | 29 | $argumento_ = str_replace("\"","",$argumento_); | ... | ... |