changeset 213:682a926fd6fb

Add some comments.
author Matti Hamalainen <ccr@tnsp.org>
date Sun, 17 Nov 2013 21:03:57 +0200
parents 4cee86b4e0b7
children 36423e8ab765
files attendees.inc.php
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;