Fix warning
This commit is contained in:
parent
924923ec41
commit
129c53342a
@ -1049,7 +1049,7 @@ if (!empty($conf->facture->enabled) && $user->rights->facture->lire)
|
|||||||
if (!empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print '<td class="right">'.price($obj->total_ht).'</td>';
|
if (!empty($conf->global->MAIN_SHOW_HT_ON_SUMMARY)) print '<td class="right">'.price($obj->total_ht).'</td>';
|
||||||
print '<td class="nowrap right">'.price($obj->total_ttc).'</td>';
|
print '<td class="nowrap right">'.price($obj->total_ttc).'</td>';
|
||||||
print '<td class="nowrap right">'.price($obj->am).'</td>';
|
print '<td class="nowrap right">'.price($obj->am).'</td>';
|
||||||
print '<td>'.$tmpinvoice->getLibStatut(3, $obj->am, $obj->type).'</td>';
|
print '<td>'.$tmpinvoice->getLibStatut(3, $obj->am).'</td>';
|
||||||
print '</tr>';
|
print '</tr>';
|
||||||
|
|
||||||
$total_ttc += $obj->total_ttc;
|
$total_ttc += $obj->total_ttc;
|
||||||
|
|||||||
@ -944,9 +944,8 @@ function get_next_value($db, $mask, $table, $field, $where = '', $objsoc = '', $
|
|||||||
//print "masktri=".$masktri." maskcounter=".$maskcounter." maskraz=".$maskraz." maskoffset=".$maskoffset."<br>\n";
|
//print "masktri=".$masktri." maskcounter=".$maskcounter." maskraz=".$maskraz." maskoffset=".$maskoffset."<br>\n";
|
||||||
|
|
||||||
// Define $sqlstring
|
// Define $sqlstring
|
||||||
if (function_exists('mb_strrpos'))
|
if (function_exists('mb_strrpos')) {
|
||||||
{
|
$posnumstart = mb_strrpos($maskwithnocode, $maskcounter, 0, 'UTF-8');
|
||||||
$posnumstart = mb_strrpos($maskwithnocode, $maskcounter, 'UTF-8');
|
|
||||||
} else {
|
} else {
|
||||||
$posnumstart = strrpos($maskwithnocode, $maskcounter);
|
$posnumstart = strrpos($maskwithnocode, $maskcounter);
|
||||||
} // Pos of counter in final string (from 0 to ...)
|
} // Pos of counter in final string (from 0 to ...)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user