From 244d1839e4c132d9c3fed0fa4125256b030631cd Mon Sep 17 00:00:00 2001 From: Gauthier <gauthier.verdol@atm-consulting.fr> Date: Fri, 17 Jul 2015 17:24:11 +0200 Subject: [PATCH] FIX : load propal langs for availability traduction --- htdocs/core/class/html.form.class.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index c65a164a303..f56c3a7a7df 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -2271,7 +2271,9 @@ class Form function load_cache_availability() { global $langs; - + + $langs->load('propal'); + if (count($this->cache_availability)) return 0; // Cache deja charge $sql = "SELECT rowid, code, label"; -- GitLab