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)
|