From 84a14918bb519afac3e7550a7b447792f9de119e Mon Sep 17 00:00:00 2001 From: snipe Date: Wed, 1 Mar 2023 14:03:33 -0800 Subject: [PATCH] Updated comments Signed-off-by: snipe --- app/Http/Controllers/LocationsController.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/Http/Controllers/LocationsController.php b/app/Http/Controllers/LocationsController.php index adbe173c66..73066365db 100755 --- a/app/Http/Controllers/LocationsController.php +++ b/app/Http/Controllers/LocationsController.php @@ -232,7 +232,7 @@ class LocationsController extends Controller * Returns a view that presents a form to clone a location. * * @author [A. Gianotto] [] - * @param int $licenseId + * @param int $locationId * @since [v6.0.14] * @return View */ @@ -247,6 +247,8 @@ class LocationsController extends Controller } $location = clone $location_to_clone; + + // unset these values $location->id = null; $location->name = null; $location->image = null;