32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-11-25 22:07:33 +00:00
This commit is contained in:
Nick 2011-10-04 18:42:10 +02:00
parent 93cd554f3f
commit cb9ac89f67

View File

@ -16975,8 +16975,11 @@ class TCPDF {
} else { } else {
$opt['as'] = 'Off'; $opt['as'] = 'Off';
} }
// store flags // store readonly flag
$this->radiobutton_groups[$this->page][$name]['#readonly#'] = ($opt['f'] & 64); if (!isset($this->radiobutton_groups[$this->page][$name]['#readonly#'])) {
$this->radiobutton_groups[$this->page][$name]['#readonly#'] = false;
}
$this->radiobutton_groups[$this->page][$name]['#readonly#'] |= ($opt['f'] & 64);
$this->Annotation($x, $y, $w, $w, $name, $opt, 0); $this->Annotation($x, $y, $w, $w, $name, $opt, 0);
if ($this->rtl) { if ($this->rtl) {
$this->x -= $w; $this->x -= $w;