On 8/25/06, AD7six <[EMAIL PROTECTED]> wrote:
> Are you sure that line of code is being executed ;), try putting die
> before the flash statement, if you still get your view rendered, the
> bit of code with the flash in it isn“t being called.

The odd thing is that I put something like die('hello'), iirc, before
and after the flash line, and I got my view rendered with the word
'hello' in the middle of it:

        public function test() {
                //die('before');
                $this->flash('This is only a test!', '/users/showAll');
                die('after');
        }

Gets me:

after
0 query took ms Nr      Query   Error   Affected        Num. rows       Took 
(ms)

If I uncomment the before line I get

before
1 query took 1910 ms Nr Query   Error   Affected        Num. rows       Took 
(ms)
1       DESC `users`            8       8       1910

I tried rolling back to 1.1.6 and got the same result.

-- 
jason lee
http://www.steeplesoft.com
http://blogs.steeplesoft.com
http://littlezoper.livejournal.com

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to