Skip to content
Snippets Groups Projects
Commit af91f268 authored by Jared Hancock's avatar Jared Hancock
Browse files

Properly represent attachment filename in errors

parent 171011ee
No related branches found
No related tags found
No related merge requests found
......@@ -43,7 +43,7 @@ class TicketController extends ApiController {
if (!($info["data"] = base64_decode($info["data"], true)))
Http::response(400, sprintf(
"%s: Poorly encoded base64 data",
$filename));
$info['name']));
}
$info['size'] = strlen($info['data']);
}
......
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