v1.1.10b
### 1.1.10b (10.25.2005) ### - Fixed addslashes_deep() to actually add slashes, instead of strip them. Man, I'm dumb.
This commit is contained in:
parent
fbf3c6ba75
commit
00528a7396
4
lib.php
4
lib.php
|
@ -2,7 +2,7 @@
|
||||||
|
|
||||||
$starttime = getmicrotime();
|
$starttime = getmicrotime();
|
||||||
$numqueries = 0;
|
$numqueries = 0;
|
||||||
$version = "1.1.10a";
|
$version = "1.1.10b";
|
||||||
$build = "";
|
$build = "";
|
||||||
|
|
||||||
// Handling for servers with magic_quotes turned on.
|
// Handling for servers with magic_quotes turned on.
|
||||||
|
@ -31,7 +31,7 @@ function addslashes_deep($value) {
|
||||||
|
|
||||||
$value = is_array($value) ?
|
$value = is_array($value) ?
|
||||||
array_map('addslashes_deep', $value) :
|
array_map('addslashes_deep', $value) :
|
||||||
stripslashes($value);
|
addslashes($value);
|
||||||
return $value;
|
return $value;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user