cc4388cc by Chris Boden

Fixed bug with json query

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')
, '\"'
)
, '}'
......@@ -206,11 +206,3 @@ class UserSearch implements ArrayAccess, Iterator, Countable {
throw new Exception("You're...you're crazy man. I like you, but you're crazy.");
}
}
\ No newline at end of file
/*
class UserInjector extends Pimple {
public function __construct(Array $config = null) {
$this += $config;
}
}
*/
\ No newline at end of file
......