aboutsummaryrefslogtreecommitdiffstats
path: root/admin/include/languages.class.php
diff options
context:
space:
mode:
authormistic100 <mistic@piwigo.org>2013-01-29 17:35:23 +0000
committermistic100 <mistic@piwigo.org>2013-01-29 17:35:23 +0000
commit4708e6c75e7a681b44a5cd3631209dc64a5fbc1b (patch)
treefb7c86bc2a012ea24d6b49514658faddf3edca5f /admin/include/languages.class.php
parentec235d488e6c241ab00998a64549ca5ee0372fe7 (diff)
feature:2826
git-svn-id: http://piwigo.org/svn/trunk@20449 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/include/languages.class.php')
-rw-r--r--admin/include/languages.class.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/include/languages.class.php b/admin/include/languages.class.php
index 36f946fd1..6a7262bb0 100644
--- a/admin/include/languages.class.php
+++ b/admin/include/languages.class.php
@@ -217,10 +217,10 @@ UPDATE '.USER_INFOS_TABLE.'
*/
function get_server_languages($new=false)
{
- global $user;
+ global $user, $conf;
$get_data = array(
- 'category_id' => 8,
+ 'category_id' => $conf['pem_languages_category'],
'format' => 'php',
);