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

@@ -836,7 +836,10 @@ class PageRender extends Visitor {
}
protected function drawFormReadOnlyValueJpegAttribute($attribute,$i) {
draw_jpeg_photo($this->getServer(),$this->template->getDN(),$attribute->getName(),$i,false,false);
$this->draw('HiddenValue',$attribute,$i);
$_SESSION['tmp'][$attribute->getName()][$i] = $attribute->getValue($i);
draw_jpeg_photo(null,$this->template->getDN(),$attribute->getName(),$i,false,false);
}
protected function drawFormReadOnlyValueMultiLineAttribute($attribute,$i) {