Skip to content

Commit f26a133

Browse files
committed
Fixed bug while editing
1 parent 6bb5aa4 commit f26a133

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

app/Http/Controllers/UserController.php

+2-2
Original file line numberDiff line numberDiff line change
@@ -130,13 +130,13 @@ public function AddUpdateLink($id = 0)
130130
$bid = $links->button_id;
131131

132132
if($bid == 1 or $bid == 2){
133-
$data['linkTypeID'] = "1";
133+
$data['linkTypeID'] = "2";
134134
} elseif ($bid == 42) {
135135
$data['linkTypeID'] = "3";
136136
} elseif ($bid == 43) {
137137
$data['linkTypeID'] = "4";
138138
} else {
139-
$data['linkTypeID'] = "2";
139+
$data['linkTypeID'] = "1";
140140
}
141141

142142
$data['title'] = LinkType::where('id', $data['linkTypeID'])->value('title');

0 commit comments

Comments
 (0)