Code Duplication    Length = 6-6 lines in 2 locations

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

@@ 717-722 (lines=6) @@
714
            }
715
        }
716
717
        if (!$found) {
718
            return false;
719
        } else if (!$have_function) {
720
            $this->_syntax_error($message, E_USER_WARNING, __FILE__, __LINE__);
721
            return true;
722
        }
723
724
        /*
725
         * Even though we've located the plugin function, compilation
@@ 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 */