1
0
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:
Jakub Vrana
2010-10-16 15:47:51 +02:00
parent 207673f06c
commit 1cf374bf48
4 changed files with 5 additions and 5 deletions

View File

@@ -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])) {