Hey, On 08/10/2010 05:19 PM, Chris Zepernick {SwiftLizard} wrote: > get where clause: > > .'AND (crdate + lifetime >= ' . $GLOBALS['EXEC_TIME'] . ' OR lifetime = 0)' > > has where clause: > > ' AND crdate + lifetime >= ' . $GLOBALS['EXEC_TIME'] Good catch! I'll take care, will add unit tests and fix it. Thanks Christian