Dolibarr ERP & CRM » Bugs » bug #1750 Erroneous last modifications on admin/facture.php Latest modifications
Answer now
Snapshot Details |
Submitted by: | Bahfir Abbes (bafbes) | | Submitted on: | 2014-12-21 14:05 |
Last Modified On: | 2014-12-21 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: | |
Status |
Status: | Need more info | | Assigned to: | None |
Resolution: | None | |
Comments- Marcos GarcĂa 2014-12-22 22:08
- Sorry, can you please explain a little bit more the problem? What are you trying to do and what is the expected result?
|
|
Open→ Need more info