mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-02-10 17:10:47 +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;
|
$bid = $links->button_id;
|
||||||
|
|
||||||
|
|
||||||
if($bid == 1 or $bid == 2){
|
if($bid == 1 or $bid == 2){
|
||||||
$data['linkTypeID'] = "1";
|
$data['linkTypeID'] = "1";
|
||||||
} elseif ($bid == 42) {
|
} elseif ($bid == 42) {
|
||||||
@ -234,7 +233,7 @@ class UserController extends Controller
|
|||||||
}elseif($linkType->typename == "spacer"){
|
}elseif($linkType->typename == "spacer"){
|
||||||
$OrigLink->update([
|
$OrigLink->update([
|
||||||
'link' => $LinkURL,
|
'link' => $LinkURL,
|
||||||
'title' => $LinkTitle,
|
'title' => $customParams['height'] ?? null,
|
||||||
'button_id' => "43",
|
'button_id' => "43",
|
||||||
]);
|
]);
|
||||||
}elseif($linkType->typename == "heading"){
|
}elseif($linkType->typename == "heading"){
|
||||||
|
Loading…
x
Reference in New Issue
Block a user