forked from extern/egroupware
Small changes that use is_?????() instead of gettype().
This commit is contained in:
parent
9689d6a2b6
commit
5767f4f2a3
@ -81,7 +81,7 @@
|
||||
|
||||
// First Get the layout arrays...
|
||||
$layout = $head['#layout'];
|
||||
if (gettype($layout) != 'array')
|
||||
if (!is_array($layout))
|
||||
{
|
||||
$layout = $this->arr_keys($cols);
|
||||
}
|
||||
@ -209,7 +209,7 @@
|
||||
{
|
||||
$html = '';
|
||||
$comma = ' ';
|
||||
if (gettype($parmlist) != 'array')
|
||||
if (!is_array($parmlist))
|
||||
{
|
||||
return '';
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user