Licence != License (#5993)

This commit is contained in:
Daniel Meltzer 2018-07-27 15:01:25 -04:00 committed by snipe
parent d8f0102204
commit a3811f632d

View file

@ -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)) {