Commit 66e0de3a authored by Carsten  Rose's avatar Carsten Rose
Browse files

delete.php: fixed unwanted loose of MSG_CONTENT.

parent a3fc0261
......@@ -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;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment