
02-17-2011, 03:57 AM
|
|
Banned
|
Join Date: Feb 2007
Posts: 1,002
|
|
|
That last post is definitely going in the wrong direction.
One thing I can think of is that the onCreated() of the door or switch is getting called before the database's.
For debugging, echoing an object doesn't really make much sense, try echoing temp.door.type() instead to see if anything is actually there. |
|
|
|