Skip to content

Commit

Permalink
#947 Fix undefined variables
Browse files Browse the repository at this point in the history
  • Loading branch information
jiru committed Mar 8, 2016
1 parent bc02c4f commit 4cd0224
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions app/views/elements/short_description.ctp
Original file line number Diff line number Diff line change
Expand Up @@ -59,11 +59,11 @@
)
);

if ($selectedLanguageFrom == null) {
if (!isset($selectedLanguageFrom)) {
$selectedLanguageFrom = 'und';
}

if ($selectedLanguageTo == null) {
if (!isset($selectedLanguageTo)) {
$selectedLanguageTo = 'und';
}

Expand Down

0 comments on commit 4cd0224

Please sign in to comment.