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 dbab3a6 commit f0343e9Copy full SHA for f0343e9
resources/views/components/pageitems/vcard-form.blade.php
@@ -3,10 +3,9 @@
3
<select style="display:none" name="button" class="form-control"><option class="button button-default email" value="vcard">Vcard</option></select>
4
5
@php
6
-// Decode the JSON string to a PHP object
+try {
7
$data = json_decode($link_url);
8
9
-// Assign the values to the variables
10
$prefix = $data->prefix;
11
$firstName = $data->first_name;
12
$middleName = $data->middle_name;
@@ -34,7 +33,8 @@
34
33
$workAddressState = $data->work_address_state;
35
$workAddressZip = $data->work_address_zip;
36
$workAddressCountry = $data->work_address_country;
37
-
+}
+catch (exception $e) {}
38
@endphp
39
40
<label for='title' class='form-label'>Custom Title</label>
0 commit comments