Fixed bug with json query
Showing
1 changed file
with
1 additions
and
9 deletions
| ... | @@ -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 | ... | ... |
-
Please register or sign in to post a comment