Skip to content

Commit

Permalink
This is an integer value
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Dec 1, 2014
1 parent 7aebd00 commit 471fdda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion imp/lib/Ajax/Application/Handler/ComposeAttach.php
Expand Up @@ -47,7 +47,7 @@ public function addAttachment()
$result = new stdClass;
$result->action = 'addAttachment';
if (isset($this->vars->file_id)) {
$result->file_id = $this->vars->file_id;
$result->file_id = intval($this->vars->file_id);
}
$result->success = 0;

Expand Down

0 comments on commit 471fdda

Please sign in to comment.