summaryrefslogtreecommitdiffstats
path: root/pages/achievements.php
diff options
context:
space:
mode:
authorPatrick Davison <snapwilliam@gmail.com>2012-04-21 13:44:11 -0700
committerPatrick Davison <snapwilliam@gmail.com>2012-04-21 13:44:11 -0700
commitf03c9a928b9019c4b7947a9b087134ead88e7655 (patch)
tree87385a5e7b01ff0c913bf96c089d143ab452f79c /pages/achievements.php
parent6210d67f7caff9fcf9d4d171430c1a4170000a83 (diff)
downloadpathery-f03c9a928b9019c4b7947a9b087134ead88e7655.tar.xz
Scoreboard colors. & Blank Emblem fix
Diffstat (limited to 'pages/achievements.php')
-rw-r--r--pages/achievements.php3
1 files changed, 3 insertions, 0 deletions
diff --git a/pages/achievements.php b/pages/achievements.php
index ab17521..881e798 100644
--- a/pages/achievements.php
+++ b/pages/achievements.php
@@ -327,6 +327,9 @@ if (!$result OR mysql_num_rows($result) <= 0) {
}
list($UDisplay, $UAdmin, $UTotalMoves, $UTotalSolutions, $wallColor, $nameColor, $wallEmblem) = mysql_fetch_row($result);
+if ($wallEmblem == '')
+ $wallEmblem = 'blank.png';
+
$DUTotalMoves = number_format($UTotalMoves);
$UTotalSolutions = number_format($UTotalSolutions);