|
@@ -4180,7 +4180,17 @@ class ilm_settings {
|
|
|
$param->ilm_type = $iassign_ilm->type;
|
|
|
$param->type = $iassign_ilm->type;
|
|
|
$param->url = $iassign_ilm->url;
|
|
|
- $param->description = $description->{current_language()};
|
|
|
+
|
|
|
+
|
|
|
+ if (!isset($description->{current_language()})) {
|
|
|
+ if (isset($description->{"en_us"})) $param->description = $description->{"en_us"};
|
|
|
+ else
|
|
|
+ if (isset($description->{"pt_br"})) $param->description = $description->{"pt_br"};
|
|
|
+ else $param->description = "";
|
|
|
+ }
|
|
|
+ else
|
|
|
+ $param->description = $description->{current_language()};
|
|
|
+
|
|
|
$param->description_lang = $iassign_ilm->description;
|
|
|
$param->extension = $iassign_ilm->extension;
|
|
|
$param->author = $iassign_ilm->author;
|