Fix phpcs

This commit is contained in:
Laurent Destailleur 2015-04-26 17:59:02 +02:00
parent 4235d74aac
commit 1e237defb0

View File

@ -3467,15 +3467,16 @@ class Form
/** /**
* Show a form + html select a date * Show a form + html select a date
* *
* @param string $page Page * @param string $page Page
* @param string $selected Date preselected * @param string $selected Date preselected
* @param string $htmlname Html name of date input fields or 'none' * @param string $htmlname Html name of date input fields or 'none'
* @param int $displayhour Display hour selector * @param int $displayhour Display hour selector
* @param int $displaymin Display minutes selector * @param int $displaymin Display minutes selector
* @param int $nooutput 1=No print output, return string
* @return void * @return void
* @see select_date * @see select_date
*/ */
function form_date($page, $selected, $htmlname, $displayhour=0, $displaymin=0, $noouput=0) function form_date($page, $selected, $htmlname, $displayhour=0, $displaymin=0, $nooutput=0)
{ {
global $langs; global $langs;
@ -3499,7 +3500,7 @@ class Form
else $ret.=dol_print_date($selected,'day'); else $ret.=dol_print_date($selected,'day');
} }
if (empty($noouput)) print $ret; if (empty($nooutput)) print $ret;
return $ret; return $ret;
} }