Project

General

Profile

Bug #17326 ยป befunc_enablefields.diff

Administrator Admin, 2007-05-23 21:39

View differences:

class.t3lib_befunc.php (working copy)
$query[]='('.$field.'=0 OR '.$field.'>'.$GLOBALS['SIM_EXEC_TIME'].')';
$invQuery[]='('.$field.'!=0 AND '.$field.'<='.$GLOBALS['SIM_EXEC_TIME'].')';
}
if ($ctrl['delete']) {
$field = $table.'.'.$ctrl['delete'];
$query[]=$field.'=0';
$invQuery[]=$field.'!=0';
}
}
}
$outQ = ' AND '.($inv ? '('.implode(' OR ',$invQuery).')' : implode(' AND ',$query));
    (1-1/1)