diff options
author | Struan Donald <struan@exo.org.uk> | 2013-04-12 15:17:52 +0100 |
---|---|---|
committer | Struan Donald <struan@exo.org.uk> | 2013-04-12 15:18:37 +0100 |
commit | 1fd0245dd074b66e00715bbe6445c74c65dc6d9b (patch) | |
tree | fb2dec925ef4d5874bb03ea1677e0a51568ba515 | |
parent | 2fd6bf06985be340c0874f0f98a5ee769b9e2f9d (diff) |
stop search page breaking of msg is not defined
-rw-r--r-- | www/templates/en/address_search.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/www/templates/en/address_search.html b/www/templates/en/address_search.html index af42f2b..4963099 100644 --- a/www/templates/en/address_search.html +++ b/www/templates/en/address_search.html @@ -19,7 +19,7 @@ <div class="tablewrapper"> <div id="front-howto"> - <% if (msg) { %> + <% if (typeof msg != 'undefined' && msg !== '') { %> <h2><%= msg %></h2> <% } else { %> <h2>How to report a problem</h2> |