| @@ -99,15 +99,8 @@ | ||
| 99 | 99 | // continue; |
| 100 | 100 | // } |
| 101 | 101 | list( $href, $btnLabel ) = $item; |
| 102 | 102 | |
| 103 | - // display just label | |
| 104 | - // if (false === $href) { | |
| 105 | - // $item = $btnLabel; | |
| 106 | - // $return[$k] = $item; | |
| 107 | - // continue; | |
| 108 | - // } | |
| 109 | - | |
| 110 | 103 | if( is_array($href) ){ |
| 111 | 104 | $finalHref = str_replace( '--ID--', $href[1], $href[0] ); |
| 112 | 105 | } |
| 113 | 106 | else { |