Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
DariusIII committed Feb 1, 2019
2 parents 4b43114 + 3ccb5ab commit a6d9b85
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Blacklight/Releases.php
Original file line number Diff line number Diff line change
Expand Up @@ -704,7 +704,7 @@ public function search($searchName, $usenetName, $posterName, $fileName, $groupN
return $releases;
}
$releases = ! empty($searchResult) ? Release::fromQuery($sql) : [];
if ($releases->isNotEmpty()) {
if (! empty($releases) || $releases->isNotEmpty()) {
$releases[0]->_totalrows = $this->getPagerCount($baseSql);
}
$expiresAt = now()->addMinutes(config('nntmux.cache_expiry_medium'));
Expand Down

0 comments on commit a6d9b85

Please sign in to comment.