Skip to content
Snippets Groups Projects
Commit a693f7c6 authored by Carsten  Rose's avatar Carsten Rose
Browse files

delete.php: fixed typo

parent f2d9d6e0
No related branches found
No related tags found
No related merge requests found
......@@ -91,12 +91,14 @@ try {
$answer[API_MESSAGE] = $e->formatMessage();
$val = Store::getVar(SYSTEM_FORM_ELEMENT, STORE_SYSTEM);
if ($val !== false)
if ($val !== false) {
$answer[API_FIELD_NAME] = $val;
}
$val = Store::getVar(SYSTEM_FORM_ELEMENT_MESSAGE, STORE_SYSTEM);
if ($val !== false)
if ($val !== false) {
$answer[API_FIELD_MESSAGE] = $val;
}
$result[MSG_CONTENT] = json_encode($answer);
......
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