CRM-13072 argh that last minute fix & the enotices git add tests/phpunit/CiviTest...
authoreileen <eileen@fuzion.co.nz>
Fri, 26 Jul 2013 06:26:45 +0000 (18:26 +1200)
committereileen <eileen@fuzion.co.nz>
Fri, 26 Jul 2013 06:26:45 +0000 (18:26 +1200)
tests/phpunit/CiviTest/CiviUnitTestCase.php

index 6c5ee22ec2c1c167e9c5736bf9d4c6e0d6a8af14..bb4e2ccaec7a5f80e955cc46081145db2c0d3deb 100644 (file)
@@ -2056,7 +2056,7 @@ AND    ( TABLE_NAME LIKE 'civicrm_value_%' )
         'id' => $id,
       ));
     }
-    $dateFields = $keys = array();
+    $dateFields = $keys = $dateTimeFields = array();
     $fields = $this->callAPISuccess($entity, 'getfields', array('version' => 3, 'action' => 'get'));
     foreach ($fields['values'] as $field => $settings) {
       if (array_key_exists($field, $result)) {