Code Duplication    Length = 1-3 lines in 3 locations

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

@@ 5750-5752 (lines=3) @@
5747
         */
5748
        protected function _tag_open_SELECT($param)
5749
        {
5750
            if ( ! isset($param['name'])) {
5751
                $param['name'] = 'champs_pdf_'.(count($this->_lstField) + 1);
5752
            }
5753
5754
            $param['name'] = strtolower($param['name']);
5755
@@ 5868-5870 (lines=3) @@
5865
         */
5866
        protected function _tag_open_TEXTAREA($param)
5867
        {
5868
            if ( ! isset($param['name'])) {
5869
                $param['name'] = 'champs_pdf_'.(count($this->_lstField) + 1);
5870
            }
5871
5872
            $param['name'] = strtolower($param['name']);
5873
@@ 5937-5937 (lines=1) @@
5934
         */
5935
        protected function _tag_open_INPUT($param)
5936
        {
5937
            if ( ! isset($param['name']))  $param['name']  = 'champs_pdf_'.(count($this->_lstField) + 1);
5938
            if ( ! isset($param['value'])) $param['value'] = '';
5939
            if ( ! isset($param['type']))  $param['type']  = 'text';
5940