Skip to content

A free open source IT asset/license management system

Used consistent phrasing in query

snipe7987a4eca4fc
diff --git a/database/migrations/2020_10_23_161736_fix_zero_values_for_locations.php b/database/migrations/2020_10_23_161736_fix_zero_values_for_locations.php
index 20a222496a..66685c8e41 100644
--- a/database/migrations/2020_10_23_161736_fix_zero_values_for_locations.php
+++ b/database/migrations/2020_10_23_161736_fix_zero_values_for_locations.php
@@ -21,7 +21,7 @@ class FixZeroValuesForLocations extends Migration
App\Models\Asset::where('rtd_location_id', '=', '0')
->update(['rtd_location_id' => null]);
- App\Models\User::where('location_id', '0')
+ App\Models\User::where('location_id', '=', '0')
->update(['location_id' => null]);
}