fix syntax error in branch 19.0 (#30201)
* fix syntax error in branch 19.0 * Update stocktransfer.class.php
This commit is contained in:
parent
b2e288f8ec
commit
082e7d4d4b
2 changed files with 2 additions and 7 deletions
|
|
@ -856,7 +856,7 @@ class FormMail extends Form
|
|||
// Preview of attachment
|
||||
$out .= img_mime($listofnames[$key]).' '.$listofnames[$key];
|
||||
|
||||
$out .= $formfile->showPreview(array(), $formfile_params[2], $formfile_params[4], 0, ($entity == 1 ? '' : 'entity='.((int) $entity));
|
||||
$out .= $formfile->showPreview(array(), $formfile_params[2], $formfile_params[4], 0, ($entity == 1 ? '' : 'entity='.((int) $entity)));
|
||||
if (!$this->withfilereadonly) {
|
||||
$out .= ' <input type="image" style="border: 0px;" src="'.DOL_URL_ROOT.'/theme/'.$conf->theme.'/img/delete.png" value="'.($key + 1).'" class="removedfile" id="removedfile_'.$key.'" name="removedfile_'.$key.'" />';
|
||||
//$out.= ' <a href="'.$_SERVER["PHP_SELF"].'?removedfile='.($key+1).' id="removedfile_'.$key.'">'.img_delete($langs->trans("Delete").'</a>';
|
||||
|
|
|
|||
|
|
@ -63,12 +63,7 @@ class StockTransfer extends CommonObject
|
|||
public $isextrafieldmanaged = 1;
|
||||
|
||||
/**
|
||||
* @var int Name of subtable line
|
||||
*/
|
||||
public $table_element_line = 'stocktransfer_stocktransferline';
|
||||
|
||||
/**
|
||||
* @var int Field with ID of parent key if this object has a parent
|
||||
* @var string Field with ID of parent key if this object has a parent
|
||||
*/
|
||||
public $fk_element = 'fk_stocktransfer';
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue