This commit is contained in:
Nick 2011-10-04 18:42:10 +02:00
parent 93cd554f3f
commit cb9ac89f67
1 changed files with 5 additions and 2 deletions

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;