mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-16 14:31:29 +01:00
FIX PHP 8 Warning in subscription list
This commit is contained in:
@@ -715,7 +715,7 @@ while ($i < $imaxinloop) {
|
|||||||
|
|
||||||
// Label
|
// Label
|
||||||
if (!empty($arrayfields['t.libelle']['checked'])) {
|
if (!empty($arrayfields['t.libelle']['checked'])) {
|
||||||
print '<td class="tdoverflowmax400" title="'.dol_escape_htmltag($obj->note).'">';
|
print '<td class="tdoverflowmax400" title="'.dol_escape_htmltag($obj->note_private).'">';
|
||||||
print dol_escape_htmltag(dolGetFirstLineOfText($obj->note_private));
|
print dol_escape_htmltag(dolGetFirstLineOfText($obj->note_private));
|
||||||
print '</td>';
|
print '</td>';
|
||||||
if (!$i) {
|
if (!$i) {
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ if (isset($totalarray['pos'])) {
|
|||||||
while ($i < $totalarray['nbfield']) {
|
while ($i < $totalarray['nbfield']) {
|
||||||
$i++;
|
$i++;
|
||||||
if (!empty($totalarray['pos'][$i])) {
|
if (!empty($totalarray['pos'][$i])) {
|
||||||
switch ($totalarray['type'][$i]) {
|
switch ($totalarray['pos'][$i]) {
|
||||||
case 'duration';
|
case 'duration';
|
||||||
print '<td class="right">';
|
print '<td class="right">';
|
||||||
print (!empty($totalarray['val'][$totalarray['pos'][$i]]) ? convertSecondToTime($totalarray['val'][$totalarray['pos'][$i]], 'allhourmin') : 0);
|
print (!empty($totalarray['val'][$totalarray['pos'][$i]]) ? convertSecondToTime($totalarray['val'][$totalarray['pos'][$i]], 'allhourmin') : 0);
|
||||||
|
|||||||
Reference in New Issue
Block a user