Skip to content

Commit

Permalink
[Regression] Fix undefined index: * (#19344)
Browse files Browse the repository at this point in the history
  • Loading branch information
Quy authored and Michael Babker committed Jan 16, 2018
1 parent 09800e7 commit 2b9ed4f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,7 @@ public static function isCommon($token, $lang)
}

// Check if the token is in the common array.
return in_array($token, $data[$lang], true);
return in_array($token, $data[$langCode], true);
}

/**
Expand Down

0 comments on commit 2b9ed4f

Please sign in to comment.