@@ -89,8 +89,8 @@ discard block |
||
| 89 | 89 | public function __construct( $data ) { |
| 90 | 90 | $sections = array( 'counters', 'license', 'access_free_templates', 'payments', 'entries', 'inbox', 'video', 'payments' ); |
| 91 | 91 | foreach ( $sections as $section ) { |
| 92 | - if ( isset( $data[ $section ] ) ) { |
|
| 93 | - $this->view[ $section ] = $data[ $section ]; |
|
| 92 | + if ( isset( $data[$section] ) ) { |
|
| 93 | + $this->view[$section] = $data[$section]; |
|
| 94 | 94 | } |
| 95 | 95 | } |
| 96 | 96 | } |
@@ -365,7 +365,7 @@ discard block |
||
| 365 | 365 | private static function load_entries_list_template( $template ) { |
| 366 | 366 | add_filter( |
| 367 | 367 | 'formidable_page_formidable_entries_per_page', |
| 368 | - function () { |
|
| 368 | + function() { |
|
| 369 | 369 | return 7; |
| 370 | 370 | } |
| 371 | 371 | ); |