Code Duplication    Length = 10-10 lines in 2 locations

class.FlipPage.php 1 location

@@ 538-547 (lines=10) @@
535
     *
536
     * @return string The HREF for the dropdown
537
     */
538
    protected function getHrefForDropdown(&$link)
539
    {
540
        if(isset($link['_']))
541
        {
542
            $ret = $link['_'];
543
            unset($link['_']);
544
            return $ret;
545
        }
546
        return '#';
547
    }
548
549
    protected function getDropdown($link, $name)
550
    {

Http/Html/class.FlipPage.php 1 location

@@ 526-535 (lines=10) @@
523
     *
524
     * @return string The HREF for the dropdown
525
     */
526
    protected function getHrefForDropdown(&$link)
527
    {
528
        if(isset($link['_']))
529
        {
530
            $ret = $link['_'];
531
            unset($link['_']);
532
            return $ret;
533
        }
534
        return '#';
535
    }
536
537
    protected function getDropdown($link, $name)
538
    {