Completed
Pull Request — master (#2453)
by
unknown
45s
created
classes/helpers/FrmDashboardHelper.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -89,8 +89,8 @@  discard block
 block discarded – undo
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
 block discarded – undo
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
 		);
Please login to merge, or discard this patch.