mirror of
https://github.com/vrana/adminer.git
synced 2025-08-17 12:00:41 +02:00
Use now function instead of CURRENT_TIMESTAMP
git-svn-id: https://adminer.svn.sourceforge.net/svnroot/adminer/trunk@996 7c3ca157-0c34-0410-bff1-cbf682f78f5c
This commit is contained in:
@@ -400,8 +400,6 @@ class Adminer {
|
||||
$return = "$function(" . idf_escape($name) . ", $return)";
|
||||
} elseif (ereg('^(md5|sha1|password)$', $function)) {
|
||||
$return = "$function($return)";
|
||||
} elseif (ereg('date|time', $field["type"]) && $value == "CURRENT_TIMESTAMP") {
|
||||
$return = $value;
|
||||
}
|
||||
return $return;
|
||||
}
|
||||
|
Reference in New Issue
Block a user