Merge pull request #3184 from GPCsolutions/dolibarr-3183

Fix #3183 Make sure FormOther class is included.
This commit is contained in:
Laurent Destailleur 2015-07-11 17:27:10 +02:00
commit 0eccfce9d0

View File

@ -257,6 +257,8 @@ function show_theme($fuser,$edit=0,$foruserprofile=false)
global $conf,$langs,$db;
global $bc;
require_once DOL_DOCUMENT_ROOT . '/core/class/html.formother.class.php';
$formother = new FormOther($db);
//$dirthemes=array(empty($conf->global->MAIN_FORCETHEMEDIR)?'/theme':$conf->global->MAIN_FORCETHEMEDIR.'/theme');