|
@@ 269-276 (lines=8) @@
|
| 266 |
|
|
| 267 |
|
foreach ($groups as $group) { |
| 268 |
|
|
| 269 |
|
if (is_Json($group->name)) { |
| 270 |
|
$name_array = json_decode($group->name, true); |
| 271 |
|
$name_array['en'] = str_replace('"', '\"', $name_array['en']); |
| 272 |
|
$name_array['fr'] = str_replace('"', '\"', $name_array['fr']); |
| 273 |
|
} else { |
| 274 |
|
$name_array['en'] = $group->name_array; |
| 275 |
|
$name_array['fr'] = $group->name; |
| 276 |
|
} |
| 277 |
|
|
| 278 |
|
if (is_Json($group->description)) { |
| 279 |
|
$description_array = json_decode($group->description, true); |
|
@@ 278-285 (lines=8) @@
|
| 275 |
|
$name_array['fr'] = $group->name; |
| 276 |
|
} |
| 277 |
|
|
| 278 |
|
if (is_Json($group->description)) { |
| 279 |
|
$description_array = json_decode($group->description, true); |
| 280 |
|
$description_array['en'] = str_replace('"', '\"', $description_array['en']); |
| 281 |
|
$description_array['fr'] = str_replace('"', '\"', $description_array['fr']); |
| 282 |
|
} else { |
| 283 |
|
$description_array['en'] = $group->description; |
| 284 |
|
$description_array['fr'] = $group->description; |
| 285 |
|
} |
| 286 |
|
|
| 287 |
|
$arr[] = array( |
| 288 |
|
'guid' => $group->getGUID(), |