Tuesday 06 March 2007 3:14:42 am - 1 reply
Modified on Tuesday 06 March 2007 3:15:11 am by Sébastien Morel
Sébastien Morel
Wednesday 07 March 2007 2:11:29 am
I would just know if this fix will not generate another problem
copysubtree.php around the line 729 :
$relatedNodeID = $relationItem->attributeValue('node-id'); $relatedNode = eZContentObjectTreeNode::fetch( $relatedNodeID ); $originalObjectID = $relatedNode->attribute('contentobject_id');
The error appends when the $relationItem->attributeValue('node-id') is empty so I have add a condition:
if ($relationItem->attributeValue('node-id')>0) { $relatedNodeID = $relationItem->attributeValue('node-id'); $relatedNode = eZContentObjectTreeNode::fetch( $relatedNodeID ); $originalObjectID = $relatedNode->attribute('contentobject_id'); }else $originalObjectID = $relationItem->attributeValue('contentobject-id');
Anybody ?
Thanks
-- eZ c'est plus fort que toi ! http://www.ez-france.org http://blog.plopix.net @Novactive (http://www.novactive.com)
You must be logged in to post messages in this topic!