From 9c055df5a9ba343cd20a39ed954d22c372faadb0 Mon Sep 17 00:00:00 2001
From: Xkeeper <xkeeper@gmail.com>
Date: Wed, 24 Jan 2018 19:49:42 -0800
Subject: [PATCH] Fix more unquoted array keys

---
 profile.php |  2 +-
 sigsize.php | 12 ++++++------
 2 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/profile.php b/profile.php
index b5cd5f3..213dd0b 100644
--- a/profile.php
+++ b/profile.php
@@ -131,7 +131,7 @@
 	if(!$user['posts'] or $user['posts']>=$topposts or $projdate>2000000000 or $projdate<ctime()) $projdate="";
 	else $projdate=" -- Projected date for $topposts posts: ".date($dateformat,$projdate+$tzoff);
 
-	if($user['minipic']) $minipic="<img src=\"". htmlspecialchars($user[minipic]) ."\" width=16 height=16 align=absmiddle> ";
+	if($user['minipic']) $minipic="<img src=\"". htmlspecialchars($user['minipic']) ."\" width=16 height=16 align=absmiddle> ";
 	$homepagename=$user['homepageurl'];
 	if($user['homepagename']) $homepagename="$user[homepagename]</a> - $user[homepageurl]";
 	if($user['postbg']) $postbg="<div style='background:url($user[postbg]);' height=100%>";
diff --git a/sigsize.php b/sigsize.php
index 5582d41..17e70be 100644
--- a/sigsize.php
+++ b/sigsize.php
@@ -5,7 +5,7 @@
   print "
 	$header
 	$fonttag
-		Show: <a href=\"?\">layout sizes</a> - <a href=\"?bio=1\">bio sizes</a>	
+		Show: <a href=\"?\">layout sizes</a> - <a href=\"?bio=1\">bio sizes</a>
 	<br>$tblstart
 	$tccellh>&nbsp;</td>
 	$tccellh colspan=2>User</td>
@@ -26,11 +26,11 @@
 	print "<tr>
 	$tccell2>". ($lm ? "<img src=\"images/smilies/denied.gif\" title=\"Say no to the layout maker!\" align=absmiddle> $r <img src=\"images/smilies/denied.gif\" title=\"Say no to the layout maker!\" align=absmiddle>" : "$r") ."</td>
 	$tccell2 width=16>". ($u['minipic'] ? "<img src=\"". htmlspecialchars($u['minipic']) ."\" width=16 height=16>" : "") ."</td>
-	$tccell1><a href=profile.php?id=$u[id]><font ". getnamecolor($u[sex], $u[powerlevel]) .">$u[name]</font></a></td>
-	". (!$_GET['bio'] ? "$tccell2 width=100>". number_format($u[hsize]) ."</td>
-	$tccell2 width=100>". number_format($u[ssize]) ."</td>" : "") ."
-	$tccell1 width=100><b>". number_format($u[tsize]) ."</b><br><img src=images/minibar.png width=\"". number_format($u['tsize'] / $max * 200) ."\" align=left height=3></td></tr>";
+	$tccell1><a href=profile.php?id=$u[id]><font ". getnamecolor($u['sex'], $u['powerlevel']) .">$u[name]</font></a></td>
+	". (!$_GET['bio'] ? "$tccell2 width=100>". number_format($u['hsize']) ."</td>
+	$tccell2 width=100>". number_format($u['ssize']) ."</td>" : "") ."
+	$tccell1 width=100><b>". number_format($u['tsize']) ."</b><br><img src=images/minibar.png width=\"". number_format($u['tsize'] / $max * 200) ."\" align=left height=3></td></tr>";
   }
   print $tblend.$footer;
   printtimedif($startingtime);
-?>
\ No newline at end of file
+?>