HTTPS clone URL
Subversion checkout URL
Please sign in to comment.
Updated code that generates parking URLs so that if no URL is defined…
… in the config settings, then no URL is generated at all. I believe this was intended behaviour (as there is one location where the code checks whether the URL is blank and only adds an option if it isn't) but in all cases the config value had a query string appended, and therefore it would never be blank. As well as ensuring that the contact's getReserveParkingSpaceUrl() function works properly, I have updated the code on the list_contacts view so that it only outputs the 'reserve parking space' option when a URL is available. This was the only other place where the function is currently used.
- Loading branch information...
Showing with 9 additions and 2 deletions.