Skip to content

Commit

Permalink
Merge pull request #6494 from ProcessMaker/task/FOUR-14639
Browse files Browse the repository at this point in the history
FOUR-14639: Create a seeder for Ethos PM Block
  • Loading branch information
ryancooley authored Mar 27, 2024
2 parents b30ee95 + 306814d commit 627d3f7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ProcessMaker/ImportExport/Exporters/UserExporter.php
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
use Illuminate\Support\Arr;
use ProcessMaker\ImportExport\DependentType;
use ProcessMaker\Models\Permission;
use ProcessMaker\Models\User;

class UserExporter extends ExporterBase
{
Expand Down Expand Up @@ -51,6 +50,6 @@ public static function doNotImport($uuid, $assetInfo)

public function getName($model) : string
{
return $model->username;
return $model->username ?? '';
}
}

0 comments on commit 627d3f7

Please sign in to comment.