From cb9ac89f67caebdd19e1f9e422dc9bb8c33f34dd Mon Sep 17 00:00:00 2001 From: Nick Date: Tue, 4 Oct 2011 18:42:10 +0200 Subject: [PATCH] 5.9.127 --- tcpdf.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/tcpdf.php b/tcpdf.php index 59cae44..d8bd957 100755 --- a/tcpdf.php +++ b/tcpdf.php @@ -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;