Author: jablko
Date: Thu Oct 28 03:30:37 2010
New Revision: 8627

Log:
Cosmetic change

Modified:
   trunk/plugins/sfIsadPlugin/lib/QubitValidatorIsadDates.class.php

Modified: trunk/plugins/sfIsadPlugin/lib/QubitValidatorIsadDates.class.php
==============================================================================
--- trunk/plugins/sfIsadPlugin/lib/QubitValidatorIsadDates.class.php    Thu Oct 
28 03:26:23 2010        (r8626)
+++ trunk/plugins/sfIsadPlugin/lib/QubitValidatorIsadDates.class.php    Thu Oct 
28 03:30:37 2010        (r8627)
@@ -57,9 +57,9 @@
             }
 
             // Compare startDate with ancestor dates
-            if (isset($startDate))
+            if (isset($event->startDate))
             {
-              if ((!isset($ancestorStartDate) || $startDate >= 
$ancestorStartDate) && (!isset($ancestorEndDate) || $startDate < 
$ancestorEndDate))
+              if ((!isset($ancestor->startDate) || $startDate >= 
$ancestorStartDate) && (!isset($ancestor->endDate) || $startDate < 
$ancestorEndDate))
               {
                 $validStartDate = true;
               }
@@ -72,7 +72,7 @@
             // Compare endDate with ancestor dates
             if (isset($endDate))
             {
-              if ((!isset($ancestorStartDate) || $endDate > 
$ancestorStartDate) && (!isset($ancestorEndDate || $endDate <= 
$ancestorEndDate)))
+              if ((!isset($ancestor->startDate) || $endDate > 
$ancestorStartDate) && (!isset($ancestor->endDate || $endDate <= 
$ancestorEndDate)))
               {
                 $validEndDate = true;
               }

-- 
You received this message because you are subscribed to the Google Groups 
"Qubit Toolkit Commits" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/qubit-commits?hl=en.

Reply via email to