Wednesday, November 5, 2008

Date Issue (I Think)

Hello all, I have 2 applications that are pretty much set up the same,
when I call this on one application every works fine and data is set:

$eventsx = $this->ScheduledItem->findAll(
array(
'ScheduledItem.tenant_id' => $this->tenantId(),
'ScheduledItem.customer_id' => $customerId,
'ScheduledItem.is_cancelled' => 0,
'ScheduledItem.start' => '> 2008-11-02',
'ScheduledItem.start ' => '< 2008-11-09'
)
);

Then when I call it from my other application, it will not set any
date unless I remove these 2 lines:

'ScheduledItem.start' => '> 2008-11-02',
'ScheduledItem.start ' => '< 2008-11-09'

Is their something of configuration issue I am missing?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to cake-php+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

No comments: