Browse code

Fix another wrong attribute name in send file notation job

Benjamin Roth authored on09/05/2025 09:42:21
Showing1 changed files
... ...
@@ -63,7 +63,7 @@ class SecureDownloadsJob
63 63
                 $Members = $this->db->executeQuery("SELECT s.pid FROM tl_member_secureDownloads s INNER JOIN tl_files f ON f.uuid = s.uuid WHERE s.nc_sent != '1' GROUP BY s.pid");
64 64
 
65 65
                 // Load groups and notification models if we have news to share
66
-                if ($Members->rowCount() && ($Notification = Notification::findByPk($Configurations->sd_nc_notification)) !== null)
66
+                if ($Members->rowCount() && ($Notification = Notification::findByPk($Configurations->notification)) !== null)
67 67
                 {
68 68
                     foreach ($Members->iterateAssociative() as $member)
69 69
                     {