clear nonarray error

This commit is contained in:
Miles Lott 2002-04-15 03:04:10 +00:00
parent b8f1cc7be6
commit 3eebfd63fd

View File

@ -680,6 +680,7 @@
echo parse_navbar();
$custom = $this->fields->read_custom_fields();
$customfields = array();
while(list($x,$y) = @each($custom))
{
$customfields[$y['name']] = $y['title'];
@ -740,6 +741,7 @@
/* Read in user custom fields, if any */
$custom = $this->fields->read_custom_fields();
$customfields = array();
while(list($x,$y) = @each($custom))
{
$customfields[$y['name']] = $y['title'];
@ -853,6 +855,7 @@
$this->template->set_block('view_t','view_buttons','view_buttons');
$custom = $this->fields->read_custom_fields();
$customfields = array();
while(list($x,$y) = @each($custom))
{
$customfields[$y['name']] = $y['title'];