Author: jfthomps
Date: Fri May 27 12:43:35 2011
New Revision: 1128283

URL: http://svn.apache.org/viewvc?rev=1128283&view=rev
Log:
VCL-476

modified getCurrentBlockHTML to only get block times that have skip = 0

Modified:
    incubator/vcl/trunk/web/.ht-inc/blockallocations.php

Modified: incubator/vcl/trunk/web/.ht-inc/blockallocations.php
URL: 
http://svn.apache.org/viewvc/incubator/vcl/trunk/web/.ht-inc/blockallocations.php?rev=1128283&r1=1128282&r2=1128283&view=diff
==============================================================================
--- incubator/vcl/trunk/web/.ht-inc/blockallocations.php (original)
+++ incubator/vcl/trunk/web/.ht-inc/blockallocations.php Fri May 27 12:43:35 
2011
@@ -1134,7 +1134,8 @@ function getCurrentBlockHTML($listonly=0
                        .        "UNIX_TIMESTAMP(end) AS unixend "
                        . "FROM blockTimes "
                        . "WHERE blockRequestid = {$row['id']} AND "
-                       .       "end > NOW() "
+                       .       "end > NOW() AND "
+                       .       "skip = 0 "
                        . "ORDER BY start "
                        . "LIMIT 1";
                $qh2 = doQuery($query2, 101);


Reply via email to