Update html.form.class.php

This commit is contained in:
Laurent Destailleur 2020-08-29 04:58:07 +02:00 committed by GitHub
parent ca47eb2c9f
commit bd201052de
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -5673,8 +5673,15 @@ class Form
return $retstring;
}
public function select_type_duration($prefix, $selected = 'minute'){
/**
* select_type_duration
*
* @param string $prefix Prefix
* @param string $modelType Model type
* @return string HTML select string
*/
public function select_type_duration($prefix, $selected = 'minute')
{
global $langs;
$retstring = '';
@ -5695,8 +5702,7 @@ class Form
$retstring .= "</select>";
print $retstring;
return;
return $retstring;
}
// phpcs:disable PEAR.NamingConventions.ValidFunctionName.ScopeNotCamelCaps