mirror of
https://github.com/snipe/snipe-it.git
synced 2025-03-05 20:52:15 -08:00
Licence != License (#5993)
This commit is contained in:
parent
d8f0102204
commit
a3811f632d
|
@ -23,11 +23,11 @@ class LicenseCheckoutController extends Controller
|
||||||
*
|
*
|
||||||
* @author [A. Gianotto] [<snipe@snipe.net>]
|
* @author [A. Gianotto] [<snipe@snipe.net>]
|
||||||
* @since [v1.0]
|
* @since [v1.0]
|
||||||
* @param $licenceId
|
* @param $licenseId
|
||||||
* @return \Illuminate\Contracts\View\View
|
* @return \Illuminate\Contracts\View\View
|
||||||
* @throws \Illuminate\Auth\Access\AuthorizationException
|
* @throws \Illuminate\Auth\Access\AuthorizationException
|
||||||
*/
|
*/
|
||||||
public function create($licenceId)
|
public function create($licenseId)
|
||||||
{
|
{
|
||||||
// Check that the license is valid
|
// Check that the license is valid
|
||||||
if ($license = License::find($licenseId)) {
|
if ($license = License::find($licenseId)) {
|
||||||
|
|
Loading…
Reference in a new issue