fix: select times
This commit is contained in:
parent
3ea8d828ed
commit
bd719a0219
@ -124,7 +124,7 @@ class Timecard
|
|||||||
|
|
||||||
$this->queryTime = [$startTime, $endTime];
|
$this->queryTime = [$startTime, $endTime];
|
||||||
|
|
||||||
$smt = $this->pdo->prepare("SELECT * FROM cards WHERE startTime > ? AND endTime < ? AND uid=?;");
|
$smt = $this->pdo->prepare("SELECT * FROM cards WHERE startTime > ? AND startTime < ? AND uid=?;");
|
||||||
$smt->execute([
|
$smt->execute([
|
||||||
$startTime,
|
$startTime,
|
||||||
$endTime,
|
$endTime,
|
||||||
|
Loading…
Reference in New Issue
Block a user