Small changes that use is_?????() instead of gettype().

This commit is contained in:
skeeter 2001-11-10 20:51:30 +00:00
parent 9689d6a2b6
commit 5767f4f2a3

View File

@ -81,7 +81,7 @@
// First Get the layout arrays... // First Get the layout arrays...
$layout = $head['#layout']; $layout = $head['#layout'];
if (gettype($layout) != 'array') if (!is_array($layout))
{ {
$layout = $this->arr_keys($cols); $layout = $this->arr_keys($cols);
} }
@ -209,7 +209,7 @@
{ {
$html = ''; $html = '';
$comma = ' '; $comma = ' ';
if (gettype($parmlist) != 'array') if (!is_array($parmlist))
{ {
return ''; return '';
} }