diff attendees.inc.php @ 213:682a926fd6fb

Add some comments.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 17 Nov 2013 21:03:57 +0200
parents 77d33161f8be
children
line wrap: on
line diff
--- a/attendees.inc.php	Sun Nov 17 20:57:47 2013 +0200
+++ b/attendees.inc.php	Sun Nov 17 21:03:57 2013 +0200
@@ -36,9 +36,11 @@
   $row = 0;
   foreach ($res as $item)
   {
+    // Check hard limit first
     if ($maxAttendeesHard > 0)
       $over = $index > $maxAttendeesHard;
     else
+    // Then check soft limit
     if ($maxAttendeesSoft > 0)
       $over = $index > $maxAttendeesSoft;