mirror of
https://github.com/wavelog/wavelog.git
synced 2026-03-22 10:24:14 +00:00
Fix date check
This commit is contained in:
@@ -129,7 +129,7 @@ class Oqrs_model extends CI_Model {
|
||||
|
||||
foreach ($result as $row) {
|
||||
if (strtolower($row->col_qsl_sent ?? '') == 'y') {
|
||||
$sql = 'update oqrs set status = 2 where qsoid = ? and status = 3 and requesttime > ?';
|
||||
$sql = 'update oqrs set status = 2 where qsoid = ? and status = 3 and requesttime < ?';
|
||||
$binding = [$row->qsoid, $row->col_qslsdate];
|
||||
$query = $this->db->query($sql, $binding);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user