Update UserController.php
This commit is contained in:
parent
7536457e12
commit
9e980fea5b
|
@ -781,7 +781,7 @@ class UserController extends Controller
|
|||
$checkmark = $request->checkmark;
|
||||
$sharebtn = $request->sharebtn;
|
||||
|
||||
if($pageName != $littlelink_name && $littlelink_name == env('HOME_URL')){
|
||||
if(env('HOME_URL') !== '' && $pageName != $littlelink_name && $littlelink_name == env('HOME_URL')){
|
||||
EnvEditor::editKey('HOME_URL', $pageName);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue