mirror of
https://github.com/vrana/adminer.git
synced 2025-08-13 10:04:07 +02:00
Allow specifying external links (bug #3392685)
This commit is contained in:
@@ -384,9 +384,9 @@ if (!$columns) {
|
||||
}
|
||||
}
|
||||
}
|
||||
if (!$link) {
|
||||
if (is_mail($val)) {
|
||||
$link = "mailto:$val";
|
||||
if (!$link && ($link = $adminer->selectLink($row[$key], $field)) === null) {
|
||||
if (is_mail($row[$key])) {
|
||||
$link = "mailto:$row[$key]";
|
||||
}
|
||||
if ($protocol = is_url($row[$key])) {
|
||||
$link = ($protocol == "http" && $HTTPS
|
||||
|
Reference in New Issue
Block a user