fix notice for RecurringEntity preprocess
authorunknown <priyanka.karan26@gmail.com>
Fri, 7 Nov 2014 17:19:15 +0000 (17:19 +0000)
committerunknown <priyanka.karan26@gmail.com>
Fri, 7 Nov 2014 17:19:15 +0000 (17:19 +0000)
CRM/Core/Form/RecurringEntity.php
templates/CRM/Core/Form/RecurringEntity.hlp

index 85c390ab5fabfab984e369e94465a97faa377bd5..ec7a494bb8c97d5a4116f0725d6a4ed434cb3cad 100644 (file)
@@ -88,7 +88,9 @@ class CRM_Core_Form_RecurringEntity {
         self::$_parentEntityId = self::$_entityId;\r
         self::$_scheduleReminderDetails = CRM_Core_BAO_RecurringEntity::getReminderDetailsByEntityId(self::$_entityId, $entityTable);\r
       }\r
-      self::$_scheduleReminderID = self::$_scheduleReminderDetails->id;\r
+      if (property_exists(self::$_scheduleReminderDetails, 'id')) {\r
+        self::$_scheduleReminderID = self::$_scheduleReminderDetails->id;\r
+      }\r
     }\r
     if ($entityTable) {\r
       CRM_Core_OptionValue::getValues(array('name' => $entityTable.'_repeat_exclude_dates_'.self::$_parentEntityId), $optionValue);\r
index 0339560c4a5c9535d6dd2e463595565d7cc5488c..1dc0792f0662f0c4cde6b5e7d7e396b81fdd906b 100644 (file)
 {htxt id="id-exclude-date"}
     {ts}
         Add dates here, if you don't want to repeat your {$params.entityType|lower} on those dates.
-        This list enables you to skip days.<br/>
-        Example: Public holidays
+        This field enables you to alter certain sessions, skip holidays, or create gaps in the sequence for other reasons.<br/>
     {/ts}
 {/htxt}
\ No newline at end of file