mirror of
https://github.com/snipe/snipe-it.git
synced 2025-01-26 21:21:18 -08:00
Updated comments
Signed-off-by: snipe <snipe@snipe.net>
This commit is contained in:
parent
473553c464
commit
84a14918bb
|
@ -232,7 +232,7 @@ class LocationsController extends Controller
|
||||||
* Returns a view that presents a form to clone a location.
|
* Returns a view that presents a form to clone a location.
|
||||||
*
|
*
|
||||||
* @author [A. Gianotto] [<snipe@snipe.net>]
|
* @author [A. Gianotto] [<snipe@snipe.net>]
|
||||||
* @param int $licenseId
|
* @param int $locationId
|
||||||
* @since [v6.0.14]
|
* @since [v6.0.14]
|
||||||
* @return View
|
* @return View
|
||||||
*/
|
*/
|
||||||
|
@ -247,6 +247,8 @@ class LocationsController extends Controller
|
||||||
}
|
}
|
||||||
|
|
||||||
$location = clone $location_to_clone;
|
$location = clone $location_to_clone;
|
||||||
|
|
||||||
|
// unset these values
|
||||||
$location->id = null;
|
$location->id = null;
|
||||||
$location->name = null;
|
$location->name = null;
|
||||||
$location->image = null;
|
$location->image = null;
|
||||||
|
|
Loading…
Reference in a new issue