Fixed mail links
This commit is contained in:
parent
564a9d160b
commit
b835101292
|
@ -109,6 +109,8 @@ class UserController extends Controller
|
||||||
|
|
||||||
if ($request->button == 'phone')
|
if ($request->button == 'phone')
|
||||||
$link1 = 'tel:' . $request->link;
|
$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')
|
elseif (stringStartsWith($request->link,'http://') == 'true' or stringStartsWith($request->link,'https://') == 'true')
|
||||||
$link1 = $request->link;
|
$link1 = $request->link;
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue