replace gettype()

This commit is contained in:
Miles Lott 2003-12-14 17:31:24 +00:00
parent b6162efea5
commit 4fefb85d65

View File

@ -526,7 +526,7 @@
while (list($null,$group) = each($groups))
{
$out .= '<option value="' . $group['account_id'] . '"';
if (strtolower(gettype($selected)) == strtolower("array"))
if(@is_array($selected))
{
for($i=0;$i<count($selected);$i++)
{