Last dispatched date is saved as a string but get function expects int

Created on 25 August 2022, over 2 years ago
Updated 27 October 2023, about 1 year ago

Problem/Motivation

When you set the notification frequency to daily, it checks in the cronjob when the last dispatch date was. The date is saved correctly but it checks in the get function if it is an int. However it is a numeric value but a string.

Steps to reproduce

Set notifications frequency to daily and run the cron.

Proposed resolution

Change the is_int function to is_numeric.

🐛 Bug report
Status

Fixed

Version

1.0

Component

dispatch

Created by

🇳🇱Netherlands MarcKwee

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024