@@ -290,7 +290,7 @@ discard block |
||
| 290 | 290 | } |
| 291 | 291 | |
| 292 | 292 | // Convert each Entity item into an object based on its JSON reflection |
| 293 | - $json_entities = array_map(function ($entity) { |
|
| 293 | + $json_entities = array_map(function($entity) { |
|
| 294 | 294 | return json_decode($entity, true); |
| 295 | 295 | }, $entities); |
| 296 | 296 | |
@@ -1044,7 +1044,7 @@ discard block |
||
| 1044 | 1044 | if (null !== $select['text']) { |
| 1045 | 1045 | $text_like = '%' . strtolower($select['text']) . '%'; |
| 1046 | 1046 | if ($select['users']) { |
| 1047 | - $where[] = '( |
|
| 1047 | + $where[] = '( |
|
| 1048 | 1048 | LOWER(' . TB_CHAT . '.`title`) LIKE :text1 |
| 1049 | 1049 | OR LOWER(' . TB_USER . '.`first_name`) LIKE :text2 |
| 1050 | 1050 | OR LOWER(' . TB_USER . '.`last_name`) LIKE :text3 |