|
@@ 207-214 (lines=8) @@
|
| 204 |
|
|
| 205 |
|
foreach ($groups as $group) { |
| 206 |
|
|
| 207 |
|
if (is_Json($group->name)) { |
| 208 |
|
$name_array = json_decode($group->name, true); |
| 209 |
|
$name_array['en'] = str_replace('"', '\"', $name_array['en']); |
| 210 |
|
$name_array['fr'] = str_replace('"', '\"', $name_array['fr']); |
| 211 |
|
} else { |
| 212 |
|
$name_array['en'] = $group->name_array; |
| 213 |
|
$name_array['fr'] = $group->name; |
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
if (is_Json($group->description)) { |
| 217 |
|
$description_array = json_decode($group->description, true); |
|
@@ 216-223 (lines=8) @@
|
| 213 |
|
$name_array['fr'] = $group->name; |
| 214 |
|
} |
| 215 |
|
|
| 216 |
|
if (is_Json($group->description)) { |
| 217 |
|
$description_array = json_decode($group->description, true); |
| 218 |
|
$description_array['en'] = str_replace('"', '\"', $description_array['en']); |
| 219 |
|
$description_array['fr'] = str_replace('"', '\"', $description_array['fr']); |
| 220 |
|
} else { |
| 221 |
|
$description_array['en'] = $group->description; |
| 222 |
|
$description_array['fr'] = $group->description; |
| 223 |
|
} |
| 224 |
|
|
| 225 |
|
$arr[] = array( |
| 226 |
|
'guid' => $group->getGUID(), |