Fix variable in DailyMailNotificationCronjob
authorMatthias Schmidt <gravatronics@live.com>
Sun, 20 Jul 2014 13:06:33 +0000 (15:06 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 20 Jul 2014 13:06:33 +0000 (15:06 +0200)
wcfsetup/install/files/lib/system/cronjob/DailyMailNotificationCronjob.class.php

index e7dca1ef3a1013a05f3a4936ab44a646745467c0..486fd56ce16889b2cf5f5fe42bf86482550ecab6 100644 (file)
@@ -87,15 +87,15 @@ class DailyMailNotificationCronjob extends AbstractCronjob {
                        // cache object types
                        if (!isset($objectTypes[$row['objectType']])) {
                                $objectTypes[$row['objectType']] = array(
-                                       'objectType' => $this->availableObjectTypes[$row['objectType']],
+                                       'objectType' => $availableObjectTypes[$row['objectType']],
                                        'objectIDs' => array(),
                                        'objects' => array()
                                );
                        }
-                               
+                       
                        $objectTypes[$row['objectType']]['objectIDs'][] = $row['objectID'];
                        $eventIDs[] = $row['eventID'];
-                               
+                       
                        $notificationObjects[$row['notificationID']] = new UserNotification(null, $row);
                }