@@ -16,8 +16,8 @@ discard block |
||
| 16 | 16 | </li><?php |
| 17 | 17 | $render_icon = true; |
| 18 | 18 | foreach ( array( 20872734, 20874748, 20882522, 20874739, 20908981, 28109851 ) as $template ) { |
| 19 | - if ( isset( $templates[ $template ] ) ) { |
|
| 20 | - $template = $templates[ $template ]; |
|
| 19 | + if ( isset( $templates[$template] ) ) { |
|
| 20 | + $template = $templates[$template]; |
|
| 21 | 21 | require $view_path . 'list-template.php'; |
| 22 | 22 | } |
| 23 | 23 | } |
@@ -45,7 +45,7 @@ discard block |
||
| 45 | 45 | <ul class="frm-templates-list frm-categories-list"> |
| 46 | 46 | <?php foreach ( $categories as $category ) { ?> |
| 47 | 47 | <?php |
| 48 | - $category_templates = $templates_by_category[ $category ]; |
|
| 48 | + $category_templates = $templates_by_category[$category]; |
|
| 49 | 49 | $count = count( $category_templates ); |
| 50 | 50 | $available = FrmFormsHelper::available_count( $category_templates, $args ); |
| 51 | 51 | ?> |