32
1
mirror of https://github.com/vdm-io/tcpdf.git synced 2024-12-24 01:15:27 +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 {
$opt['as'] = 'Off';
}
// store flags
$this->radiobutton_groups[$this->page][$name]['#readonly#'] = ($opt['f'] & 64);
// store readonly flag
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);
if ($this->rtl) {
$this->x -= $w;