Browse files

Catch potential null value from lc image select box

  • Loading branch information...
1 parent 2c74c54 commit 0b12121bc25cd26cc3c0ec0379a7bc5a44955504 @oldpatricka oldpatricka committed Mar 1, 2013
Showing with 1 addition and 1 deletion.
  1. +1 −1 phantomweb/static/js/phantom_lc.js
View
2 phantomweb/static/js/phantom_lc.js
@@ -376,7 +376,7 @@ function phantom_lc_enable_click() {
common = true;
}
else {
- image_id = $("#phantom_lc_user_images_choices").val().trim();
+ image_id = ($("#phantom_lc_user_images_choices").val() || "").trim();
common = false;
}

0 comments on commit 0b12121

Please sign in to comment.