diff --git a/legacy/application/views/scripts/playlist/update.phtml b/legacy/application/views/scripts/playlist/update.phtml index 2d28c0acd..7439ebd3e 100644 --- a/legacy/application/views/scripts/playlist/update.phtml +++ b/legacy/application/views/scripts/playlist/update.phtml @@ -6,8 +6,12 @@ if ($isSmartBlock && $this->showPoolCount) { ?>
poolCount; - echo ngettext(" track matches your search criteria.", " tracks match your search criteria.", $this->poolCount); + if($this->poolCount) { + echo $this->poolCount; + echo ngettext(" track matches your search criteria.", " tracks match your search criteria.", $this->poolCount); + } else { + echo "No track match the search criteria"; + } ?> poolCount > 0) { ?> @@ -26,6 +30,7 @@ if (count($items) && ($isSmartBlock || $isPlaylist)) : ?> ?>