Skip to content

Commit 42069cc

Browse files
committed
Update UserController.php
1 parent d8673de commit 42069cc

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

app/Http/Controllers/UserController.php

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ public function AddUpdateLink($id = 0)
129129

130130
$bid = $links->button_id;
131131

132-
133132
if($bid == 1 or $bid == 2){
134133
$data['linkTypeID'] = "1";
135134
} elseif ($bid == 42) {
@@ -149,7 +148,7 @@ public function AddUpdateLink($id = 0)
149148
break;
150149
}
151150
}
152-
151+
153152
return view('studio/edit-link', $data);
154153
}
155154

@@ -234,7 +233,7 @@ public function saveLink(request $request)
234233
}elseif($linkType->typename == "spacer"){
235234
$OrigLink->update([
236235
'link' => $LinkURL,
237-
'title' => $LinkTitle,
236+
'title' => $customParams['height'] ?? null,
238237
'button_id' => "43",
239238
]);
240239
}elseif($linkType->typename == "heading"){

0 commit comments

Comments
 (0)