Update system/modules/storelocator/ModuleStoreLocatorSearch.php

Check if value of search is 1 because it's possible that other forms use a search var with an other value.