Hide Empty View

When using contextual filters in view blocks sometimes you come across a block that
is rendering even though it does not have content. The markup renders but there is
no result data. This module proposes a solution.

This module provides a check for content in your view and templates to pair with
those checks that override the view module templates.
– views-view.tpl.php
– views-view-unformatted.tpl.php
– views-view-list.tpl.php

Source: https://drupal.org/project/project_module/feed/all