Forums / Developer / eZContentObjectTreeNode::canRead() always returns false

eZContentObjectTreeNode::canRead() always returns false

Author Message

Gabriel Ambuehl

Saturday 25 February 2006 2:54:52 am

I have the following code:

$node =& eZContentObjectTreeNode::fetch( $nodeID);
if (!$node->canRead())
{...}

somehow I always end up with not being able to read the node, even when logged in as admin! The node is fetched just fine, I can otherwise do whatever I like with it...

Visit http://triligon.org

Gabriel Ambuehl

Saturday 25 February 2006 3:03:21 am

Never mind I had a typo else where...

Visit http://triligon.org