|
@@ 276-283 (lines=8) @@
|
| 273 |
|
|
| 274 |
|
foreach ($groups as $group) { |
| 275 |
|
|
| 276 |
|
if (is_Json($group->name)) { |
| 277 |
|
$name_array = json_decode($group->name, true); |
| 278 |
|
$name_array['en'] = str_replace('"', '\"', $name_array['en']); |
| 279 |
|
$name_array['fr'] = str_replace('"', '\"', $name_array['fr']); |
| 280 |
|
} else { |
| 281 |
|
$name_array['en'] = $group->name_array; |
| 282 |
|
$name_array['fr'] = $group->name; |
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
if (is_Json($group->description)) { |
| 286 |
|
$description_array = json_decode($group->description, true); |
|
@@ 285-292 (lines=8) @@
|
| 282 |
|
$name_array['fr'] = $group->name; |
| 283 |
|
} |
| 284 |
|
|
| 285 |
|
if (is_Json($group->description)) { |
| 286 |
|
$description_array = json_decode($group->description, true); |
| 287 |
|
$description_array['en'] = str_replace('"', '\"', $description_array['en']); |
| 288 |
|
$description_array['fr'] = str_replace('"', '\"', $description_array['fr']); |
| 289 |
|
} else { |
| 290 |
|
$description_array['en'] = $group->description; |
| 291 |
|
$description_array['fr'] = $group->description; |
| 292 |
|
} |
| 293 |
|
|
| 294 |
|
$arr[] = array( |
| 295 |
|
'guid' => $group->getGUID(), |