mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2026-01-03 15:42:29 +01:00
Fix: problem with free product/service in the creation of an invoice from an estimate
This commit is contained in:
@@ -863,6 +863,7 @@ function dol_trunc($string,$size=40,$trunc='right',$stringencoding='')
|
||||
global $conf;
|
||||
|
||||
if ($size==0) return $string;
|
||||
if (dol_textishtml($string)) $string = dol_string_nohtmltag($string,1);
|
||||
if (! defined('USE_SHORT_TITLE') || (defined('USE_SHORT_TITLE') && USE_SHORT_TITLE))
|
||||
{
|
||||
// We go always here
|
||||
|
||||
Reference in New Issue
Block a user