From 98352d126ed26cdd883b973686ceb93ae8925569 Mon Sep 17 00:00:00 2001 From: Laurent Destailleur Date: Sun, 5 Mar 2023 14:00:33 +0100 Subject: [PATCH] Fix warning --- htdocs/accountancy/bookkeeping/list.php | 2 +- htdocs/core/class/html.form.class.php | 2 +- htdocs/core/class/html.formticket.class.php | 2 +- htdocs/index.php | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/htdocs/accountancy/bookkeeping/list.php b/htdocs/accountancy/bookkeeping/list.php index 609a6923fea..e28d70e8051 100644 --- a/htdocs/accountancy/bookkeeping/list.php +++ b/htdocs/accountancy/bookkeeping/list.php @@ -966,7 +966,7 @@ if (empty($reshook)) { $newcardbutton .= ''.$langs->trans("ClickToHideAlreadyExportedLines").''; $newcardbutton .= ''; } else { - $newcardbutton .= ''.img_picto($langs->trans("DocsAlreadyExportedAreExcluded"), 'switch_on', 'class="warning size15x valignmiddle"').''; + $newcardbutton .= ''.img_picto($langs->trans("DocsAlreadyExportedAreExcluded"), 'switch_on', 'class="warning size15x valignmiddle"'); $newcardbutton .= ''.$langs->trans("DocsAlreadyExportedAreExcluded").''; $newcardbutton .= ''; } diff --git a/htdocs/core/class/html.form.class.php b/htdocs/core/class/html.form.class.php index c6b48649534..3c91de75304 100644 --- a/htdocs/core/class/html.form.class.php +++ b/htdocs/core/class/html.form.class.php @@ -1487,7 +1487,7 @@ class Form } if (!empty($conf->global->SOCIETE_SHOW_VAT_IN_LIST) && !empty($obj->tva_intra)) { - $label .= ' - '.$obj->tva_intra.''; + $label .= ' - '.$obj->tva_intra; } $labelhtml = $label; diff --git a/htdocs/core/class/html.formticket.class.php b/htdocs/core/class/html.formticket.class.php index 0baa4dd5f8a..1ba3ba27fb5 100644 --- a/htdocs/core/class/html.formticket.class.php +++ b/htdocs/core/class/html.formticket.class.php @@ -410,7 +410,7 @@ class FormTicket print $langs->trans('SubjectAnswerToTicket').' '.$this->topic_title; } else { if (isset($this->withreadid) && $this->withreadid > 0) { - $subject = $langs->trans('SubjectAnswerToTicket').' '.$this->withreadid.' : '.$this->topic_title.''; + $subject = $langs->trans('SubjectAnswerToTicket').' '.$this->withreadid.' : '.$this->topic_title; } else { $subject = GETPOST('subject', 'alpha'); } diff --git a/htdocs/index.php b/htdocs/index.php index f0fe4a8e4cc..06a829ea4b5 100644 --- a/htdocs/index.php +++ b/htdocs/index.php @@ -683,12 +683,12 @@ if (empty($conf->global->MAIN_DISABLE_GLOBAL_WORKBOARD)) { if ($board->nbtodolate > 0) { $boxwork .= '
'; $boxwork .= ''; - //$boxwork .= img_picto($textlate, "warning_white", 'class="valigntextbottom"').''; + //$boxwork .= img_picto($textlate, "warning_white", 'class="valigntextbottom"'); $boxwork .= img_picto( $textlate, "warning_white", 'class="inline-block hideonsmartphone valigntextbottom"' - ).''; + ); $boxwork .= ''; $boxwork .= $board->nbtodolate; $boxwork .= '';