Update html.form.class.php
This commit is contained in:
parent
ca47eb2c9f
commit
bd201052de
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user