mirror of
https://git.code.sf.net/p/seeddms/code
synced 2024-11-26 15:32:13 +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
|
* @return boolean true if task is due, otherwise false
|
||||||
*/
|
*/
|
||||||
public function isDue() {
|
public function isDue() {
|
||||||
|
$db = $this->db;
|
||||||
|
|
||||||
$queryStr = "SELECT * FROM `tblSchedulerTask` WHERE `id` = " . $this->_id;
|
$queryStr = "SELECT * FROM `tblSchedulerTask` WHERE `id` = " . $this->_id;
|
||||||
$resArr = $db->getResultArray($queryStr);
|
$resArr = $db->getResultArray($queryStr);
|
||||||
if (is_bool($resArr) && $resArr == false)
|
if (is_bool($resArr) && $resArr == false)
|
||||||
|
|
Loading…
Reference in New Issue
Block a user