cc4388cc by Chris Boden

Fixed bug with json query

1 parent 9ef10231
...@@ -95,7 +95,7 @@ class UserSearch implements ArrayAccess, Iterator, Countable { ...@@ -95,7 +95,7 @@ class UserSearch implements ArrayAccess, Iterator, Countable {
95 '\"' 95 '\"'
96 , `meta_key` 96 , `meta_key`
97 , '\":\"' 97 , '\":\"'
98 , REPLACE(REPLACE(REPLACE(`meta_value`, '" . '"' . "', '" . '\\\"' . "'), '\\r', '\\\\r'), '\\n', '\\\\n') 98 , REPLACE(REPLACE(REPLACE(REPLACE(`meta_value`, '" . '"' . "', '" . '\\\"' . "'), '\\r', '\\\\r'), '\\n', '\\\\n'), '\\t', '\\\\t')
99 , '\"' 99 , '\"'
100 ) 100 )
101 , '}' 101 , '}'
...@@ -206,11 +206,3 @@ class UserSearch implements ArrayAccess, Iterator, Countable { ...@@ -206,11 +206,3 @@ class UserSearch implements ArrayAccess, Iterator, Countable {
206 throw new Exception("You're...you're crazy man. I like you, but you're crazy."); 206 throw new Exception("You're...you're crazy man. I like you, but you're crazy.");
207 } 207 }
208 } 208 }
...\ No newline at end of file ...\ No newline at end of file
209 /*
210
211 class UserInjector extends Pimple {
212 public function __construct(Array $config = null) {
213 $this += $config;
214 }
215 }
216 */
...\ No newline at end of file ...\ No newline at end of file
......