mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-16 18:31:26 +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')
|
function form_select($code,$name='country')
|
||||||
{
|
{
|
||||||
if (!is_object($GLOBALS['egw']->html))
|
return html::select($name,strtoupper($code),$this->country_array);
|
||||||
{
|
|
||||||
$GLOBALS['egw']->html =& CreateObject('phpgwapi.html');
|
|
||||||
}
|
|
||||||
return $GLOBALS['egw']->html->select($name,strtoupper($code),$this->country_array);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user