View Single Post
Old 12-03-2012, 05:47 PM   PM User | #7
john_w3
New Coder

 
Join Date: Jan 2010
Location: Cardiff, UK
Posts: 21
Thanks: 2
Thanked 0 Times in 0 Posts
john_w3 is an unknown quantity at this point
In the code that I submitted, that is true, but there is also an error in the view that uses this layout - and I would expect that error to be picked up by error_get_last() once I remove the error that you see here.

The issue is that the error inmy view is not being found by error_get_last() in my layout.

Could it be that the controller runs the layout before it runs the view, so the error in the view has not yet occurred when the layout is run?
john_w3 is offline   Reply With Quote