Merge pull request #8 from auge8472/illegal-string-offset

Fix: provide an array where the code expects one
This commit is contained in:
Jeena 2020-04-28 08:43:49 +02:00 committed by GitHub
commit 058c5d0eb1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,7 +25,7 @@
$c['main'] .= $categories->output_form($form_input, 'new', $l['admin']['cat_new']);
}
}
else $c['main'] .= $categories->output_form('', 'new', $l['admin']['cat_new']);
else $c['main'] .= $categories->output_form(array('id' => NULL, 'name' => NULL, 'url' => NULL, 'description' => NULL), 'new', $l['admin']['cat_new']);
break;
case 'change':