changeset 137:57de66a604c5

Cosmetics.
author Matti Hamalainen <ccr@tnsp.org>
date Tue, 22 Oct 2013 22:04:30 +0300
parents aeebfedb5709
children e04f6e3c04f7
files attendees.inc.php
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/attendees.inc.php	Tue Oct 22 22:04:22 2013 +0300
+++ b/attendees.inc.php	Tue Oct 22 22:04:30 2013 +0300
@@ -30,10 +30,10 @@
   <th class="oneliner">Oneliner</th>
  </tr>
 <?
-$index = $numAttendees;
-$row = 0;
 if (($res = stExecSQL("SELECT * FROM attendees ORDER BY regtime DESC")) !== FALSE)
 {
+  $index = $numAttendees;
+  $row = 0;
   foreach ($res as $item)
   {
     $over = $maxAttendeesSoft > 0 && $index > $maxAttendeesSoft;