f234c547 by Chris Boden

Merged UsearSearch fix to 0.5 (248:249)

1 parent 9ef10231
......@@ -95,7 +95,7 @@ class UserSearch implements ArrayAccess, Iterator, Countable {
'\"'
, `meta_key`
, '\":\"'
, REPLACE(REPLACE(REPLACE(`meta_value`, '" . '"' . "', '" . '\\\"' . "'), '\\r', '\\\\r'), '\\n', '\\\\n')
, REPLACE(REPLACE(REPLACE(REPLACE(`meta_value`, '" . '"' . "', '" . '\\\"' . "'), '\\r', '\\\\r'), '\\n', '\\\\n'), '\\t', '\\\\t')
, '\"'
)
, '}'
......@@ -205,12 +205,4 @@ class UserSearch implements ArrayAccess, Iterator, Countable {
public function offsetUnset($offset) {
throw new Exception("You're...you're crazy man. I like you, but you're crazy.");
}
}
/*
class UserInjector extends Pimple {
public function __construct(Array $config = null) {
$this += $config;
}
}
*/
\ No newline at end of file
}
\ No newline at end of file
......