Permalink
Browse files

Only show wishlist link on author page if wishlist has been set.

  • Loading branch information...
1 parent 47afc02 commit fd3dab286925b06b2bd0517f9e1cdc84be73ef0d @oalders oalders committed Aug 10, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 root/author.html
View
@@ -46,7 +46,7 @@
<input type="image" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online!">
<img alt="" border="0" src="https://www.paypalobjects.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form></center>
-<% ELSIF donate.name == 'wishlist' %>
+<% ELSIF donate.name == 'wishlist' && donate.id %>
<div style="text-align: center"><a rel="me" href="<% donate.id %>" target="_blank">Wishlist</a></div>
<% END; END; END %>
<%

0 comments on commit fd3dab2

Please sign in to comment.