Dolibarr ERP & CRM » Bugs » bug #1524 error in function formAddObjectLine Latest modifications
Answer now
Snapshot Details |
Submitted by: | Javier (javieral) | | Submitted on: | 2014-07-12 23:19 |
Last Modified On: | 2014-07-19 16:53 | |
Summary: | error in function formAddObjectLine |
Description: | error in function formAddObjectLine
In module Descriptor:
$this->module_parts = array(
'tpl' => '/scmain/core/tpl'
);
In function formAddObjectLine:
$conf->modules_parts['tpl'] is equal to "[scmain] => /scmain/core/tpl/"
The backslash at the end is wrong.
The result is: $tpl = ..htdocs/scmain/core/tpl//objectline_create.tpl.php.
two // together |
Step to reproduce bug: | Having two // should not create error.
Did you try to do
'tpl' => 1
|
Detected in version: | develop | | Category: | Module: Customer Invoices |
Severity: | 5 - Major | | OS Type/Version: | Windows 7 64 bits |
PHP version: | 5.4.12 | | Database type and version: | MySQL 5.6.12 |
Status |
Status: | Need more info | | Assigned to: | None |
Resolution: | None | |
Comments- Javier 2014-07-19 20:12
- Bug can't be reproduced on last develop version or may be
obsolete because of changes, so we suppose it was silently fixed.
Because of this, we close the request. |
|
obsolete because of changes, so we suppose it was silently fixed.
Because of this, we close the request.