mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 07:22:11 +00:00
fix php error
This commit is contained in:
parent
9db0985495
commit
a14ea507fc
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue
Block a user