diff --git a/app/Console/Commands/Contact/ExportGroup.php b/app/Console/Commands/Contact/ExportGroup.php index ddfc9aa16..14095d515 100644 --- a/app/Console/Commands/Contact/ExportGroup.php +++ b/app/Console/Commands/Contact/ExportGroup.php @@ -79,7 +79,7 @@ public function handle(): int } $contacts = Contact::selectRaw( 'c.name AS name, c.position as position, c.email AS email, c.phone AS phone, c.mobile AS mobile, - c.facilityaccess AS facilityaccess, c.mayauthorize AS mayauthorize, c.notes as notes' ) + c.notes as notes' ) ->from( 'contact AS c' ) ->leftJoin( 'contact_to_group AS ctg', 'ctg.contact_id', 'c.id' ) ->leftJoin( 'contact_group AS cg', 'cg.id', 'ctg.contact_group_id' ) @@ -121,4 +121,4 @@ public function handle(): int echo "\n"; return 0; } -} \ No newline at end of file +}