|
@@ 231-238 (lines=8) @@
|
| 228 |
|
|
| 229 |
|
foreach ($groups as $group) { |
| 230 |
|
|
| 231 |
|
if (isJson($group->name)) { |
| 232 |
|
$name_array = json_decode($group->name, true); |
| 233 |
|
$name_array['en'] = str_replace('"', '\"', $name_array['en']); |
| 234 |
|
$name_array['fr'] = str_replace('"', '\"', $name_array['fr']); |
| 235 |
|
} else { |
| 236 |
|
$name_array['en'] = $group->name_array; |
| 237 |
|
$name_array['fr'] = $group->name; |
| 238 |
|
} |
| 239 |
|
|
| 240 |
|
if (isJson($group->description)) { |
| 241 |
|
$description_array = json_decode($group->description, true); |
|
@@ 240-247 (lines=8) @@
|
| 237 |
|
$name_array['fr'] = $group->name; |
| 238 |
|
} |
| 239 |
|
|
| 240 |
|
if (isJson($group->description)) { |
| 241 |
|
$description_array = json_decode($group->description, true); |
| 242 |
|
$description_array['en'] = str_replace('"', '\"', $description_array['en']); |
| 243 |
|
$description_array['fr'] = str_replace('"', '\"', $description_array['fr']); |
| 244 |
|
} else { |
| 245 |
|
$description_array['en'] = $group->description; |
| 246 |
|
$description_array['fr'] = $group->description; |
| 247 |
|
} |
| 248 |
|
|
| 249 |
|
$arr[] = array( |
| 250 |
|
'guid' => $group->getGUID(), |