Skip to content

Commit

Permalink
Fix the issue that can cause pencilblue crashing when there is an uns…
Browse files Browse the repository at this point in the history
…upported media in the client editor
  • Loading branch information
vunguyen-manifera committed Feb 23, 2017
1 parent 5575854 commit 6dbf572
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ module.exports = function(pb) {
else if (!html) {
return cb({
code: 400,
content: pb.BaseController.apiResponse(pb.BaseController.API_FAILURE, this.ls.g('generic.UNSUPPORTED_MEDIA'))
content: pb.BaseController.apiResponse(pb.BaseController.API_FAILURE, self.ls.g('generic.UNSUPPORTED_MEDIA'))
});
}

Expand Down

0 comments on commit 6dbf572

Please sign in to comment.