correct column name
This commit is contained in:
parent
595dad0f18
commit
05a8d3030b
1 changed files with 1 additions and 1 deletions
|
@ -393,7 +393,7 @@ class LdapSync extends Command
|
|||
}
|
||||
$assets = Asset::whereColumn('assigned_to', '=', $user->id)->get();
|
||||
foreach($assets as $asset){
|
||||
$asset->location = $user->location_id;
|
||||
$asset->location_id = $user->location_id;
|
||||
}
|
||||
|
||||
$user->ldap_import = 1;
|
||||
|
|
Loading…
Add table
Reference in a new issue