Fixes for jpegPhoto attributes during copy operations

This commit is contained in:
Deon George
2011-04-28 23:20:06 +10:00
parent db241f1c98
commit 1f9308dc4d
4 changed files with 16 additions and 10 deletions

View File

@@ -708,6 +708,10 @@ class Template extends xmlTemplate {
}
}
}
// @todo If this is a Jpeg Attribute, we need to mark it read only, since it cant be deleted like text attributes can
if (strcasecmp(get_class($attribute),'jpegAttribute') == 0)
$attribute->setReadOnly();
}
# If we have any RDN values left over, there werent in the original entry and need to be added.