diff --git a/README.md b/README.md index 5b96e453a..ced6e2e9f 100644 --- a/README.md +++ b/README.md @@ -130,7 +130,7 @@ Component Builder is mapped as a component in itself on my local development env + *Version*: 2.6.12 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **180462** ++ *Line count*: **180465** + *Field count*: **1573** + *File count*: **1160** + *Folder count*: **186** diff --git a/admin/README.txt b/admin/README.txt index 5b96e453a..ced6e2e9f 100644 --- a/admin/README.txt +++ b/admin/README.txt @@ -130,7 +130,7 @@ Component Builder is mapped as a component in itself on my local development env + *Version*: 2.6.12 + *Copyright*: Copyright (C) 2015. All Rights Reserved + *License*: GNU/GPL Version 2 or later - http://www.gnu.org/licenses/gpl-2.0.html -+ *Line count*: **180462** ++ *Line count*: **180465** + *Field count*: **1573** + *File count*: **1160** + *Folder count*: **186** diff --git a/admin/models/language_translations.php b/admin/models/language_translations.php index 0bbb4e9cc..c682b59e4 100644 --- a/admin/models/language_translations.php +++ b/admin/models/language_translations.php @@ -440,9 +440,12 @@ class ComponentbuilderModelLanguage_translations extends JModelList $headers->id = 'id'; $headers->English = 'English'; // add the languages - foreach ($languages as $language) + if (ComponentbuilderHelper::checkArray($languages)) { - $headers->{$language} = $language; + foreach ($languages as $language) + { + $headers->{$language} = $language; + } } return $headers; } diff --git a/admin/views/componentbuilder/tmpl/default.php b/admin/views/componentbuilder/tmpl/default.php index a8a058e46..93b8a0205 100644 --- a/admin/views/componentbuilder/tmpl/default.php +++ b/admin/views/componentbuilder/tmpl/default.php @@ -91,12 +91,12 @@ JHtml::_('behavior.tooltip'); - +