Skip to content
Snippets Groups Projects
Unverified Commit e56b4cb2 authored by Peter Rotich's avatar Peter Rotich Committed by GitHub
Browse files

Merge pull request #4758 from JediKev/issue/php72-ticket-status

issue: PHP 7.2 Ticket Status
parents 2cbcff69 cb710243
No related branches found
No related tags found
No related merge requests found
......@@ -149,6 +149,8 @@ class DynamicFormsAjaxAPI extends AjaxController {
function saveListItem($list_id, $item_id) {
global $thisstaff;
$errors = array();
if (!$thisstaff)
Http::response(403, 'Login required');
......@@ -177,7 +179,7 @@ class DynamicFormsAjaxAPI extends AjaxController {
'name' => $basic['name'],
'value' => $basic['value'],
'abbrev' => $basic['extra'],
]);
], $errors);
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment