projects
/
platal.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Output filter to remove windows specific chararcters
[platal.git]
/
classes
/
env.php
diff --git
a/classes/env.php
b/classes/env.php
index
938596c
..
a40538c
100644
(file)
--- a/
classes/env.php
+++ b/
classes/env.php
@@
-162,7
+162,7
@@
function fix_gpc_magic(&$item, $key) {
$item = stripslashes($item);
}
}
-function fix_encoding(&$item, $key) {
+function fix_encoding(&$item, $key
= null
) {
if (is_array($item)) {
array_walk($item, 'fix_encoding');
} elseif (preg_match('/[\x80-\x9f]/', $item)) {