From a496a371593218f3561668e8f48a62f50e05eb92 Mon Sep 17 00:00:00 2001 From: Sebastian Grewe Date: Wed, 15 Jan 2014 11:37:09 +0100 Subject: [PATCH] [FIX] MMinor on mobile template --- public/templates/mobile/statistics/pool/contributors_shares.tpl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public/templates/mobile/statistics/pool/contributors_shares.tpl b/public/templates/mobile/statistics/pool/contributors_shares.tpl index f7b5ed63..ba38f268 100644 --- a/public/templates/mobile/statistics/pool/contributors_shares.tpl +++ b/public/templates/mobile/statistics/pool/contributors_shares.tpl @@ -10,7 +10,7 @@ {assign var=rank value=1} {assign var=listed value=0} {section shares $CONTRIBSHARES} -{if $GLOBAL.userdata.username == $CONTRIBSHARES[shares].account}{assign var=listed value=1}{/if} +{if $GLOBAL.userdata.username|default:"" == $CONTRIBSHARES[shares].account}{assign var=listed value=1}{/if} {$rank++} {if $CONTRIBSHARES[shares].is_anonymous|default:"0" == 1 && $GLOBAL.userdata.is_admin|default:"0" == 0}anonymous{else}{$CONTRIBSHARES[shares].account|escape}{/if}