mirror of
https://github.com/salesagility/SuiteCRM.git
synced 2025-03-16 22:33:34 +00:00
Merge pull request #1143 from tfreier/hotfix
Avoid creating img tag if there is no product image
This commit is contained in:
commit
a66c3e2d98
1 changed files with 2 additions and 2 deletions
|
@ -70,8 +70,8 @@ class templateParser{
|
|||
$value='';
|
||||
}
|
||||
}
|
||||
if ($name === 'aos_products_product_image'){
|
||||
$value = '<img src="'.$value.'"width="50" height="50"/>';
|
||||
if ($name === 'aos_products_product_image' && !empty($value)){
|
||||
$value = '<img src="'.$value.'"width="50" height="50"/>';
|
||||
}
|
||||
if ($name === 'aos_products_quotes_product_qty'){
|
||||
$sep = get_number_seperators();
|
||||
|
|
Loading…
Reference in a new issue