git-svn-id: http://xe-core.googlecode.com/svn/trunk@1630 201d5d3c-b55e-5fd7-737f-ddc643e51545

This commit is contained in:
zero 2007-06-14 07:44:40 +00:00
parent 12c4bb5174
commit 681126b7ae
5 changed files with 22 additions and 18 deletions

View file

@ -29,7 +29,10 @@
}
function setAttribute($attribute) {
if(!$attribute->document_srl) return;
if(!$attribute->document_srl || !$attribute->content) {
$this->document_srl = null;
return;
}
$this->document_srl = $attribute->document_srl;
$this->adds($attribute);