"use static html methods"

This commit is contained in:
Ralf Becker 2008-05-31 06:03:34 +00:00
parent bb08afcc9f
commit 45f895d048

View File

@ -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);
}
/**