mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-09 08:38:49 +01:00
Update UserController.php
This commit is contained in:
parent
d8673de736
commit
42069cce03
@ -129,7 +129,6 @@ class UserController extends Controller
|
||||
|
||||
$bid = $links->button_id;
|
||||
|
||||
|
||||
if($bid == 1 or $bid == 2){
|
||||
$data['linkTypeID'] = "1";
|
||||
} elseif ($bid == 42) {
|
||||
@ -149,7 +148,7 @@ class UserController extends Controller
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
return view('studio/edit-link', $data);
|
||||
}
|
||||
|
||||
@ -234,7 +233,7 @@ class UserController extends Controller
|
||||
}elseif($linkType->typename == "spacer"){
|
||||
$OrigLink->update([
|
||||
'link' => $LinkURL,
|
||||
'title' => $LinkTitle,
|
||||
'title' => $customParams['height'] ?? null,
|
||||
'button_id' => "43",
|
||||
]);
|
||||
}elseif($linkType->typename == "heading"){
|
||||
|
Loading…
x
Reference in New Issue
Block a user