Skip to content

Commit

Permalink
fixed remove single article (#117)
Browse files Browse the repository at this point in the history
  • Loading branch information
wachterjohannes authored and alexander-schranz committed Mar 27, 2017
1 parent 981ed4f commit 191920c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Resources/public/dist/services/manager.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion Resources/public/js/services/manager.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ define(['jquery', 'services/husky/util'], function($, Util) {
* @param {String} locale
*/
remove: function(id, locale) {
if (typeof someVar === 'string') {
if (typeof id === 'string') {
return Util.save(templates.url({id: id, locale: locale}), 'DELETE');
}

Expand Down

0 comments on commit 191920c

Please sign in to comment.