diff --git a/app/Http/Controllers/UserController.php b/app/Http/Controllers/UserController.php index 356a91a..5b268e9 100755 --- a/app/Http/Controllers/UserController.php +++ b/app/Http/Controllers/UserController.php @@ -109,6 +109,8 @@ class UserController extends Controller if ($request->button == 'phone') $link1 = 'tel:' . $request->link; + elseif ($request->button == 'default email' or $request->button == 'default email_alt') + $link1 = 'mailto:' . $request->link; elseif (stringStartsWith($request->link,'http://') == 'true' or stringStartsWith($request->link,'https://') == 'true') $link1 = $request->link; else