Code Duplication    Length = 6-6 lines in 2 locations

htdocs/class/smarty/Smarty_Compiler.class.php 2 locations

@@ 802-807 (lines=6) @@
799
            }
800
        }
801
802
        if (!$found) {
803
            return false;
804
        } else if (!$have_function) {
805
            $this->_syntax_error($message, E_USER_WARNING, __FILE__, __LINE__);
806
            return true;
807
        }
808
809
        /* declare plugin to be loaded on display of the template that
810
           we compile right now */
@@ 712-717 (lines=6) @@
709
            }
710
        }
711
712
        if (!$found) {
713
            return false;
714
        } else if (!$have_function) {
715
            $this->_syntax_error($message, E_USER_WARNING, __FILE__, __LINE__);
716
            return true;
717
        }
718
719
        /*
720
         * Even though we've located the plugin function, compilation