We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6bb5aa4 commit f26a133Copy full SHA for f26a133
app/Http/Controllers/UserController.php
@@ -130,13 +130,13 @@ public function AddUpdateLink($id = 0)
130
$bid = $links->button_id;
131
132
if($bid == 1 or $bid == 2){
133
- $data['linkTypeID'] = "1";
+ $data['linkTypeID'] = "2";
134
} elseif ($bid == 42) {
135
$data['linkTypeID'] = "3";
136
} elseif ($bid == 43) {
137
$data['linkTypeID'] = "4";
138
} else {
139
- $data['linkTypeID'] = "2";
+ $data['linkTypeID'] = "1";
140
}
141
142
$data['title'] = LinkType::where('id', $data['linkTypeID'])->value('title');
0 commit comments