mirror of
https://github.com/firefly-iii/firefly-iii.git
synced 2026-01-09 20:11:22 +00:00
Strict comparisons.
This commit is contained in:
@@ -124,7 +124,7 @@ class ImportJob extends Model
|
||||
if (is_null($value)) {
|
||||
return [];
|
||||
}
|
||||
if (strlen($value) == 0) {
|
||||
if (strlen($value) === 0) {
|
||||
return [];
|
||||
}
|
||||
|
||||
@@ -138,7 +138,7 @@ class ImportJob extends Model
|
||||
*/
|
||||
public function getExtendedStatusAttribute($value)
|
||||
{
|
||||
if (strlen($value) == 0) {
|
||||
if (strlen($value) === 0) {
|
||||
return [];
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user