fix php error

This commit is contained in:
Uwe Steinmann 2024-07-02 17:07:30 +02:00
parent 9db0985495
commit a14ea507fc

View File

@ -294,6 +294,8 @@ class SeedDMS_SchedulerTask {
* @return boolean true if task is due, otherwise false
*/
public function isDue() {
$db = $this->db;
$queryStr = "SELECT * FROM `tblSchedulerTask` WHERE `id` = " . $this->_id;
$resArr = $db->getResultArray($queryStr);
if (is_bool($resArr) && $resArr == false)