Skip to content

Commit

Permalink
#700 Display contributions for non ISO 639-3 lang.
Browse files Browse the repository at this point in the history
  • Loading branch information
trang committed Jul 11, 2015
1 parent 7760de5 commit 8e9060d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models/contribution.php
Expand Up @@ -117,7 +117,7 @@ public function getLastContributions($limit, $lang = 'und')
$limit = Sanitize::paranoid($limit);
$lang = Sanitize::paranoid($lang);

if (strlen($lang) != 3 || !is_numeric($limit)) {
if (!is_numeric($limit)) {
return array();
}

Expand Down

0 comments on commit 8e9060d

Please sign in to comment.