mirror of
https://github.com/vrana/adminer.git
synced 2025-08-12 01:24:17 +02:00
Rename functions (avoid conflict with WordPress)
This commit is contained in:
@@ -279,7 +279,7 @@ if (!$columns) {
|
||||
if (isset($names[$key])) {
|
||||
$field = $fields[$key];
|
||||
if ($val != "" && (!isset($email_fields[$key]) || $email_fields[$key] != "")) {
|
||||
$email_fields[$key] = (is_email($val) ? $names[$key] : ""); //! filled e-mails can be contained on other pages
|
||||
$email_fields[$key] = (is_mail($val) ? $names[$key] : ""); //! filled e-mails can be contained on other pages
|
||||
}
|
||||
$link = "";
|
||||
$val = $adminer->editVal($val, $field);
|
||||
@@ -322,7 +322,7 @@ if (!$columns) {
|
||||
}
|
||||
}
|
||||
if (!$link) {
|
||||
if (is_email($val)) {
|
||||
if (is_mail($val)) {
|
||||
$link = "mailto:$val";
|
||||
}
|
||||
if ($protocol = is_url($row[$key])) {
|
||||
|
Reference in New Issue
Block a user