Update database.php
This commit is contained in:
parent
410f3a6890
commit
f2f1c4e458
|
@ -903,8 +903,8 @@ if(!is_fn("sql_query")) {
|
|||
}
|
||||
|
||||
// get timediff
|
||||
if(!is_fn("get_timediff_on_query")) {
|
||||
function get_timediff_on_query($a, $b) {
|
||||
if(!is_fn("get_db_timediff")) {
|
||||
function get_db_timediff($a, $b) {
|
||||
$dt = 0;
|
||||
|
||||
$sql = "select timediff(:a, :b) as dt";
|
||||
|
|
Loading…
Reference in New Issue
Block a user