mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-02-20 13:46:52 +01:00
Fix warnings
This commit is contained in:
parent
ed0bf25be3
commit
2fdd5c1b6b
|
|
@ -1180,11 +1180,11 @@ if ($action == 'create') {
|
|||
if ($object->id > 0) {
|
||||
$object->fetch_thirdparty();
|
||||
|
||||
// Confirmation de la suppression d'une ligne produit
|
||||
$formconfirm = '';
|
||||
// Confirmation of deletion of product line
|
||||
if ($action == 'ask_deleteline') {
|
||||
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id.'&lineid='.$lineid, $langs->trans('DeleteProductLine'), $langs->trans('ConfirmDeleteProductLine'), 'confirm_deleteline', '', 'no', 1);
|
||||
}
|
||||
|
||||
// Confirm delete of repeatable invoice
|
||||
if ($action == 'delete') {
|
||||
$formconfirm = $form->formconfirm($_SERVER["PHP_SELF"].'?id='.$object->id, $langs->trans('DeleteRepeatableInvoice'), $langs->trans('ConfirmDeleteRepeatableInvoice'), 'confirm_delete', '', 'no', 1);
|
||||
|
|
@ -1730,6 +1730,7 @@ if ($action == 'create') {
|
|||
$MAXEVENT = 10;
|
||||
|
||||
//$morehtmlcenter = dolGetButtonTitle($langs->trans('SeeAll'), '', 'fa fa-bars imgforviewmode', dol_buildpath('/mymodule/myobject_agenda.php', 1).'?id='.$object->id);
|
||||
$morehtmlcenter = '';
|
||||
|
||||
// List of actions on element
|
||||
include_once DOL_DOCUMENT_ROOT.'/core/class/html.formactions.class.php';
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user