Dolibarr ERP & CRM » Bugs » bug #1845 Undefined "$conf->browser->ie" var in "functions.lib.php"Latest modifications
Answer now
Snapshot Details |
Submitted by: | Ruben Almeida (aruben) | | Submitted on: | 2015-02-13 10:20 |
Last Modified On: | 2015-02-13 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.5.6 | | Category: | Core Problem |
Severity: | 1 - Minor | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Status |
Status: | Open | | Assigned to: | Marcos García (marcosgdf) |
Resolution: | Fixed | |
Comments- Marcos GarcĂa 2015-02-16 12:30
- The bug has been corrected. Pull request send inside GIT sources
(http://www.github.com/Dolibarr/dolibarr) and waiting to merge
into develop branch. |
|
(http://www.github.com/Dolibarr/dolibarr) and waiting to merge
into develop branch.
3.7.0→ 3.5.6None→ Marcos García (marcosgdf)None→ Fixed