Skip to content

Commit

Permalink
[#629] Eliminated warning akin to unitialized value used in eq.
Browse files Browse the repository at this point in the history
  • Loading branch information
byrnereese authored and jayallen committed Dec 7, 2010
1 parent 8243aad commit 33fc88a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/MT/App/Wizard.pm
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ sub init_request {
my $default_lang = $q->param('default_language') || browser_language();
$app->set_language($default_lang);

if ( $app->is_mtconfig_exists || $q->param('step') eq 'upgrade_from_mt' )
if ( $app->is_mtconfig_exists || ($q->param('step') && $q->param('step') eq 'upgrade_from_mt' ))
{
$app->mode('upgrade_from_mt');
return;
Expand Down

0 comments on commit 33fc88a

Please sign in to comment.