@@ -8,14 +8,14 @@ |
||
8 | 8 | if ( method_exists( 'FrmAppHelper', 'maybe_autocomplete_options' ) ) { |
9 | 9 | $posts = get_posts( |
10 | 10 | array( |
11 | - 'posts_per_page' => -1, |
|
11 | + 'posts_per_page' => - 1, |
|
12 | 12 | 'post_type' => 'any', |
13 | 13 | 'order' => 'DESC', |
14 | 14 | ) |
15 | 15 | ); |
16 | 16 | $source = array(); |
17 | 17 | foreach ( $posts as $post ) { |
18 | - $source[ $post->ID ] = $post->post_title; |
|
18 | + $source[$post->ID] = $post->post_title; |
|
19 | 19 | } |
20 | 20 | FrmAppHelper::maybe_autocomplete_options( array( |
21 | 21 | 'source' => $source, |