mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
"use static html methods"
This commit is contained in:
parent
bb08afcc9f
commit
45f895d048
@ -356,11 +356,7 @@ class country
|
||||
*/
|
||||
function form_select($code,$name='country')
|
||||
{
|
||||
if (!is_object($GLOBALS['egw']->html))
|
||||
{
|
||||
$GLOBALS['egw']->html =& CreateObject('phpgwapi.html');
|
||||
}
|
||||
return $GLOBALS['egw']->html->select($name,strtoupper($code),$this->country_array);
|
||||
return html::select($name,strtoupper($code),$this->country_array);
|
||||
}
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user