Dolibarr ERP & CRM » Bugs » bug #1750 Erroneous last modifications on admin/facture.php État Détails |
Submitted by: | Bahfir Abbes (bafbes) | | Submitted on: | 21/12/2014 14:05 |
Last Modified On: | 21/12/2014 14:05 | |
Summary: | Erroneous last modifications on admin/facture.php |
Description: | It is no longer possible to select the invoice document model |
Step to reproduce bug: | Here is the diff of the correction:
@@ -500,12 +501,11 @@ print "</tr>\n";
clearstatcache();
$var=true;
-foreach ($def as $reldir)
+foreach ($conf->file->dol_document_root as $dirroot)
{
foreach (array('','/doc') as $valdir)
{
- $dir = dol_buildpath($reldir."core/modules/facture".$valdir);
-
+ $dir = $dirroot ."/core/modules/facture".$valdir;
if (is_dir($dir))
{
$handle=opendir($dir);
|
Detected in version: | 3.6.0 | | Category: | Other |
Severity: | 5 - Major | | OS Type/Version: | |
PHP version: | | | Database type and version: | |
Etat |
Status: | Open | | Assigned to: | Aucun |
Resolution: | Aucun | |
Répondre
|
|