FIX warning for too many %s
This commit is contained in:
parent
28f5ddbfcb
commit
142a50fcce
1 changed files with 2 additions and 2 deletions
|
|
@ -591,8 +591,8 @@ if ($mode == 'searchkey') {
|
|||
}
|
||||
print '<span title="'.dolPrintHTMLForAttribute($titleforvalue).'" class="classfortooltip">';
|
||||
print dolPrintHTML($val);
|
||||
if (substr_count($langsenfileonly->tab_translate[$key], '%s') > 4) {
|
||||
print '<br><div class="warning">Error, more than 4 %s in the source</div>';
|
||||
if (substr_count($langsenfileonly->tab_translate[$key], '%s') > 5) {
|
||||
print '<br><div class="warning">Error, more than 5 %s in the source</div>';
|
||||
}
|
||||
print '</span>';
|
||||
print '</td>';
|
||||
|
|
|
|||
Loading…
Reference in a new issue