dolibarr-bugtrack
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Dolibarr-bugtrack] [Bug #1845] Undefined "$conf->browser->ie" var in "f


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1845] Undefined "$conf->browser->ie" var in "functions.lib.php"
Date: Fri, 13 Feb 2015 10:20:40 +0100

Doliforge
Ce message ne s'affiche pas correctement?
mettez à jour vos préférences utilisateur.

Undefined "$conf->browser->ie" var in "functions.lib.php"

État

 Détails
Submitted by:  Ruben Almeida (aruben) Submitted on:  13/02/2015 10:20
Last Modified On:  13/02/2015 10:20 
Summary:  Undefined "$conf->browser->ie" var in "functions.lib.php"
Description:  File : htdocs\core\lib\functions.lib.php
Functions : "load_fiche_titre" & "print_barre_liste"
Where :
v3.6.2: lines 2543 & 2581
v3.6.3 (v3.6_backported): lines 2540 & 2578
v3.7.0: lines 2659 & 2698
v3.8 dev : lines 2710 & 2749
v <= 3.6.1 also...
Code :
if ($picto == 'setup') $picto='title.png';
if (!empty($conf->browser->ie) && $picto=='title.png') $picto='title.gif';


The function call the variable "$conf->browser->ie" but it never set anywhere in the htdocs folder.
Step to reproduce bug:  Impact:
Under Internet Explorer browser, in page "http://127.0.0.1/admin/system/modules.php?mainmenu=home&leftmenu=admintools_info" the displayed icon is not 'title.gif' but 'title.png'

Solution :
Replace "!empty($conf->browser->ie)"
by "$conf->browser->name=='ie'"
Detected in version:  3.7.0 Category:  Core Problem
Severity:  1 - Minor OS Type/Version:  
PHP version:   Database type and version:  
 Etat
Status:  Open Assigned to:  Aucun
Resolution:  Aucun 

Répondre



reply via email to

[Prev in Thread] Current Thread [Next in Thread]