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