| Conditions | 2 |
| Paths | 2 |
| Total Lines | 10 |
| Code Lines | 7 |
| Lines | 0 |
| Ratio | 0 % |
| Changes | 0 | ||
| 1 | <?php |
||
| 34 | public function getTicketDescription() |
||
| 35 | { |
||
| 36 | $filtered_row_content = $this->getFilteredRowContents(); |
||
| 37 | if($filtered_row_content !== false) { |
||
| 38 | remove_filter('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', '__return_true'); |
||
| 39 | add_filter('FHEE__EE_Ticket_Selector__display_ticket_selector_submit', '__return_false'); |
||
| 40 | return $filtered_row_content; |
||
| 41 | } |
||
| 42 | return $this->ticket->description(); |
||
| 43 | } |
||
| 44 | |||
| 48 |