forked from Wavyzz/dolibarr
Fix: ticket.class phan/phpstan notices (#31448)
* Qual: Fix ticket.class notices * Do not analyze custom * Fix: Correct reference to cache (+phpdoc) * Update baseline, ignore everything in custom * Qual: Fix notices in files related to ticket class
This commit is contained in:
@@ -6348,7 +6348,7 @@ function print_fiche_titre($title, $mesg = '', $picto = 'generic', $pictoisfullp
|
||||
* @param string $title Title to show (HTML sanitized content)
|
||||
* @param string $morehtmlright Added message to show on right
|
||||
* @param string $picto Icon to use before title (should be a 32x32 transparent png file)
|
||||
* @param int $pictoisfullpath 1=Icon name is a full absolute url of image
|
||||
* @param int<0,1> $pictoisfullpath 1=Icon name is a full absolute url of image
|
||||
* @param string $id To force an id on html objects
|
||||
* @param string $morecssontable More css on table
|
||||
* @param string $morehtmlcenter Added message to show on center
|
||||
@@ -6599,7 +6599,7 @@ function print_fleche_navigation($page, $file, $options = '', $nextpage = 0, $be
|
||||
print '<datalist id="limitlist">';
|
||||
} else {
|
||||
print '<li class="paginationcombolimit valignmiddle">';
|
||||
print '<select id="limit'.(is_numeric($selectlimitsuffix) ? '': $selectlimitsuffix).'" name="limit" class="flat selectlimit nopadding maxwidth75 center'.(is_numeric($selectlimitsuffix) ? '': ' '.$selectlimitsuffix).'" title="'.dol_escape_htmltag($langs->trans("MaxNbOfRecordPerPage")).'">';
|
||||
print '<select id="limit'.(is_numeric($selectlimitsuffix) ? '' : $selectlimitsuffix).'" name="limit" class="flat selectlimit nopadding maxwidth75 center'.(is_numeric($selectlimitsuffix) ? '' : ' '.$selectlimitsuffix).'" title="'.dol_escape_htmltag($langs->trans("MaxNbOfRecordPerPage")).'">';
|
||||
}
|
||||
$tmpchoice = explode(',', $pagesizechoices);
|
||||
$tmpkey = $limit.':'.$limit;
|
||||
@@ -6627,7 +6627,7 @@ function print_fleche_navigation($page, $file, $options = '', $nextpage = 0, $be
|
||||
print '</datalist>';
|
||||
} else {
|
||||
print '</select>';
|
||||
print ajax_combobox("limit".(is_numeric($selectlimitsuffix) ? '': $selectlimitsuffix), array(), 0, 0, 'resolve', '-1', 'limit');
|
||||
print ajax_combobox("limit".(is_numeric($selectlimitsuffix) ? '' : $selectlimitsuffix), array(), 0, 0, 'resolve', '-1', 'limit');
|
||||
//print ajax_combobox("limit");
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user