mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2025-10-16 09:22:33 +00:00
Make sure user ID is an integer #1774
This commit is contained in:
@@ -116,7 +116,7 @@ class ImportArrayStorage
|
|||||||
app('preferences')->mark();
|
app('preferences')->mark();
|
||||||
|
|
||||||
// email about this:
|
// email about this:
|
||||||
event(new RequestedReportOnJournals($this->importJob->user_id, $collection));
|
event(new RequestedReportOnJournals((int)$this->importJob->user_id, $collection));
|
||||||
|
|
||||||
return $collection;
|
return $collection;
|
||||||
}
|
}
|
||||||
|
@@ -56,6 +56,7 @@ class ImportJob extends Model
|
|||||||
*/
|
*/
|
||||||
protected $casts
|
protected $casts
|
||||||
= [
|
= [
|
||||||
|
'user_id' => 'int',
|
||||||
'created_at' => 'datetime',
|
'created_at' => 'datetime',
|
||||||
'updated_at' => 'datetime',
|
'updated_at' => 'datetime',
|
||||||
'configuration' => 'array',
|
'configuration' => 'array',
|
||||||
|
Reference in New Issue
Block a user