mirror of
https://github.com/Dolibarr/dolibarr.git
synced 2025-12-05 17:18:13 +01:00
FIX warning for too many %s
This commit is contained in:
@@ -650,8 +650,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>';
|
||||
|
||||
Reference in New Issue
Block a user