Hello,

I'd like to report a bug with 'HandPicked Rule' in selectObjects.cfm

There's a problem with these lines :

 <cfparam name="output.minday"
default="#day(getMinTypeDate(output.dmtype)-7)#">
 <cfparam name="output.minmonth"
default="#month(getMinTypeDate(output.dmtype))#">


For an object,  if the getMinTypeDate function returns a date at the
beginning of a month (ex 6-6-2004), then output.minday value will be 31, but
output.minmonth value stays at 6, so the SQL query will not be correct. (and
it can return an error, because 31-6-2004 is not a valid date)


Jiib.



---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to