mirror of
https://github.com/LinkStackOrg/LinkStack.git
synced 2025-01-26 17:24:53 +01:00
Fixed bug while editing
This commit is contained in:
parent
6bb5aa4acf
commit
f26a1336b9
@ -130,13 +130,13 @@ class UserController extends Controller
|
||||
$bid = $links->button_id;
|
||||
|
||||
if($bid == 1 or $bid == 2){
|
||||
$data['linkTypeID'] = "1";
|
||||
$data['linkTypeID'] = "2";
|
||||
} elseif ($bid == 42) {
|
||||
$data['linkTypeID'] = "3";
|
||||
} elseif ($bid == 43) {
|
||||
$data['linkTypeID'] = "4";
|
||||
} else {
|
||||
$data['linkTypeID'] = "2";
|
||||
$data['linkTypeID'] = "1";
|
||||
}
|
||||
|
||||
$data['title'] = LinkType::where('id', $data['linkTypeID'])->value('title');
|
||||
|
Loading…
Reference in New Issue
Block a user