Changeset 11925


Ignore:
Timestamp:
Aug 9, 2011, 4:29:19 PM (13 years ago)
Author:
flop25
Message:

bug:2383
/!\ corrected but not checked

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/dblayer/functions_sqlite.inc.php

    r11485 r11925  
    5656
    5757  $link->createFunction('now', 'pwg_now', 0);
    58   $link->createFunction('unix_timestamp', 'pwg_unix_timestamp', 0);
     58  $link->createFunction('unix_timestamp', 'pwg_unix_timestamp', 1);
    5959  $link->createFunction('md5', 'md5', 1);
    6060  $link->createFunction('if', 'pwg_if', 3);
     
    695695function pwg_unix_timestamp()
    696696{
    697   return time();
     697  return strtotime($strDate);
    698698}
    699699
Note: See TracChangeset for help on using the changeset viewer.