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

delete.php: fixed unwanted loose of MSG_CONTENT.

parent a3fc0261
No related branches found
No related tags found
No related merge requests found
......@@ -74,10 +74,11 @@ try {
case MODE_HTML:
if ($targetUrl === false || $targetUrl === '') {
$result[MSG_CONTENT] = 'Missing target URL. ' . ERROR_MISSING_VALUE;
} else {
$result[MSG_CONTENT] = '';
}
$result[MSG_HEADER] = "Location: $targetUrl";
$result[MSG_CONTENT] = '';
break;
......
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