dolibarr-bugtrack
[Top][All Lists]
Advanced

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

[Dolibarr-bugtrack] [Bug #1524] error in function formAddObjectLine


From: Doliforge
Subject: [Dolibarr-bugtrack] [Bug #1524] error in function formAddObjectLine
Date: Sat, 19 Jul 2014 16:53:10 +0200

Doliforge
Is this email not displaying correctly?
update email preferences.

error in function formAddObjectLine

Latest modifications

2014-07-19 16:53 (Europe/Paris)
Changes:
  • Step to reproduce bug: 
+Having two // should not create error.  
+Did you try to do  
+'tpl' => 1  
  
  • Status: 
OpenNeed more info

Answer now

Snapshot

 Details
Submitted on:  2014-07-12 23:19 Last Modified On:  2014-07-12 23:19
Submitted by:  Javier (javieral) 
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 


reply via email to

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