Code Duplication    Length = 1-1 lines in 2 locations

web_interface/astpp/application/libraries/html2pdf/html2pdf.php 2 locations

@@ 3871-3871 (lines=1) @@
3868
3869
            if (isset($param['name'])) {
3870
                $name = $param['name'];
3871
                if ( ! isset($this->_lstAnchor[$name])) $this->_lstAnchor[$name] = array($this->pdf->AddLink(), false);
3872
3873
                if ( ! $this->_lstAnchor[$name][1]) {
3874
                    $this->_lstAnchor[$name][1] = true;
@@ 3881-3881 (lines=1) @@
3878
3879
            if (preg_match('/^#([^#]+)$/isU', $this->_isInLink, $match)) {
3880
                $name = $match[1];
3881
                if ( ! isset($this->_lstAnchor[$name])) $this->_lstAnchor[$name] = array($this->pdf->AddLink(), false);
3882
3883
                $this->_isInLink = $this->_lstAnchor[$name][0];
3884
            }