Skip to content

Commit

Permalink
Fix issue mozfr#576
Browse files Browse the repository at this point in the history
  • Loading branch information
MatonAnthony committed Feb 12, 2016
1 parent af7f624 commit c44c13e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/classes/Transvision/ShowResults.php
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,8 @@ public static function getSuggestionsResults($source_strings, $target_strings, $
];
$flat_output = [];

$max_results = $max_results > 0 ? $max_results : 10;

// Assign quality to each string in each group (source, target)
foreach ($data as $group => $group_strings) {
foreach ($group_strings as $single_string) {
Expand Down

0 comments on commit c44c13e

Please sign in to comment.