Fix null
This commit is contained in:
parent
6ac1f98ed0
commit
e5e320fd90
@ -1668,13 +1668,11 @@ function dol_banner_tab($object, $paramid, $morehtml = '', $shownav = 1, $fieldi
|
||||
$phototoshow .= '</div>';
|
||||
}
|
||||
}
|
||||
} elseif (!$phototoshow)
|
||||
{
|
||||
} elseif (!$phototoshow) {
|
||||
$phototoshow .= $form->showphoto($modulepart, $object, 0, 0, 0, 'photoref', 'small', 1, 0, $maxvisiblephotos);
|
||||
}
|
||||
|
||||
if ($phototoshow)
|
||||
{
|
||||
if ($phototoshow) {
|
||||
$morehtmlleft .= '<div class="floatleft inline-block valignmiddle divphotoref">';
|
||||
$morehtmlleft .= $phototoshow;
|
||||
$morehtmlleft .= '</div>';
|
||||
|
||||
@ -40,6 +40,7 @@ if (!empty($conf->salaries->enabled)) require_once DOL_DOCUMENT_ROOT.'/salaries/
|
||||
$langs->loadLangs(array('companies', 'commercial', 'banks', 'bills', 'trips', 'holiday', 'salaries'));
|
||||
|
||||
$id = GETPOST('id', 'int');
|
||||
$ref = GETPOST('ref', 'alphanohtml');
|
||||
$bankid = GETPOST('bankid', 'int');
|
||||
$action = GETPOST("action", 'alpha');
|
||||
$cancel = GETPOST('cancel', 'alpha');
|
||||
@ -217,6 +218,8 @@ if ($action == 'setdefault_range') {
|
||||
* View
|
||||
*/
|
||||
|
||||
$form = new Form($db);
|
||||
|
||||
$childids = $user->getAllChildIds(1);
|
||||
|
||||
llxHeader(null, $langs->trans("BankAccounts"));
|
||||
|
||||
Loading…
Reference in New Issue
Block a user