coerce string to int
This commit is contained in:
parent
c466f2f154
commit
e452c04214
1 changed files with 1 additions and 1 deletions
|
|
@ -168,7 +168,7 @@ abstract class QueryFilters
|
|||
|
||||
public function created_at($value)
|
||||
{
|
||||
$created_at = $value ? $value : 0;
|
||||
$created_at = $value ? (int)$value : 0;
|
||||
|
||||
$created_at = date('Y-m-d H:i:s', $value);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue