mirror of
https://github.com/invoiceninja/invoiceninja.git
synced 2025-07-07 10:17:30 -04:00
coerce string to int
This commit is contained in:
parent
c466f2f154
commit
e452c04214
@ -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…
x
Reference in New Issue
Block a user