Author: cfinck
Date: Fri Jun 19 03:22:23 2009
New Revision: 438

URL: http://svn.reactos.org/svn/reactos?rev=438&view=rev
Log:
As we LEFT JOIN the results with the suite names, we have to check for an SQL 
null value instead of an existing array key.

Modified:
    branches/danny-web/www/www.reactos.org/testman/compare.php

Modified: branches/danny-web/www/www.reactos.org/testman/compare.php
URL: 
http://svn.reactos.org/svn/reactos/branches/danny-web/www/www.reactos.org/testman/compare.php?rev=438&r1=437&r2=438&view=diff
==============================================================================
--- branches/danny-web/www/www.reactos.org/testman/compare.php [iso-8859-1] 
(original)
+++ branches/danny-web/www/www.reactos.org/testman/compare.php [iso-8859-1] Fri 
Jun 19 03:22:23 2009
@@ -25,8 +25,8 @@
                //  - we have both arrays, but not the values for both of them
                //  - both values are identical
                if(!$prev_row ||
-                  !array_key_exists($subject, $current_row) ||
-                  !array_key_exists($subject, $prev_row) ||
+                  $current_row[$subject] === null ||
+                  $prev_row[$subject] === null ||
                   $current_row[$subject] == $prev_row[$subject])
                {
                        return " ";

Reply via email to