spree/spree_static_content — pull request #156 by paul-at (2014-03-19 16:02:22+00:00)
Title: Fix incorrect sidebar conditions on 2-2-stable branch

Change 'defined?' check to 'defined and not nil' condition to prevent partials from being called when no valid data is available.

See #155 for fix in master.