Completed
Push — master ( 50511d...30b7fb )
by Jamie
03:49
created
classes/models/FrmSettings.php 1 patch
Braces   +5 added lines, -3 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@  discard block
 block discarded – undo
1 1
 <?php
2 2
 
3
-class FrmSettings{
3
+class FrmSettings {
4 4
     public $option_name = 'frm_options';
5 5
     public $menu;
6 6
     public $mu_menu;
@@ -47,7 +47,8 @@  discard block
 block discarded – undo
47 47
     }
48 48
 
49 49
 	private function translate_settings( $settings ) {
50
-        if ( $settings ) { //workaround for W3 total cache conflict
50
+        if ( $settings ) {
51
+//workaround for W3 total cache conflict
51 52
             return unserialize(serialize($settings));
52 53
         }
53 54
 
@@ -58,7 +59,8 @@  discard block
 block discarded – undo
58 59
         }
59 60
 
60 61
         // If unserializing didn't work
61
-        if ( $settings ) { //workaround for W3 total cache conflict
62
+        if ( $settings ) {
63
+//workaround for W3 total cache conflict
62 64
             $settings = unserialize(serialize($settings));
63 65
         } else {
64 66
             $settings = $this;
Please login to merge, or discard this patch.
classes/helpers/FrmListHelper.php 1 patch
Braces   +3 added lines, -2 removed lines patch added patch discarded remove patch
@@ -520,8 +520,9 @@
 block discarded – undo
520 520
 <?php
521 521
 			foreach ( $this->modes as $mode => $title ) {
522 522
 				$classes = array( 'view-' . $mode );
523
-				if ( $current_mode == $mode )
524
-					$classes[] = 'current';
523
+				if ( $current_mode == $mode ) {
524
+									$classes[] = 'current';
525
+				}
525 526
 				printf(
526 527
 					"<a href='%s' class='%s' id='view-switch-$mode'><span class='screen-reader-text'>%s</span></a>\n",
527 528
 					esc_url( add_query_arg( 'mode', $mode ) ),
Please login to merge, or discard this patch.
classes/models/FrmAddon.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -272,7 +272,7 @@
 block discarded – undo
272 272
 		return $message;
273 273
 	}
274 274
 
275
-    public function manually_queue_update(){
275
+    public function manually_queue_update() {
276 276
         set_site_transient( 'update_plugins', null );
277 277
     }
278 278
 }
Please login to merge, or discard this patch.
classes/controllers/FrmXMLController.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -310,7 +310,7 @@
 block discarded – undo
310 310
 			if ( ! is_array( $csv_fields ) ) {
311 311
 				$csv_fields = explode(',', $csv_fields);
312 312
 			}
313
-			if ( ! empty($csv_fields) )	{
313
+			if ( ! empty($csv_fields) ) {
314 314
 				$where['fi.id'] = $csv_fields;
315 315
 			}
316 316
 		}
Please login to merge, or discard this patch.
classes/helpers/FrmCSVExportHelper.php 1 patch
Braces   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,6 +1,6 @@
 block discarded – undo
1 1
 <?php
2 2
 
3
-class FrmCSVExportHelper{
3
+class FrmCSVExportHelper {
4 4
 	protected static $separator        = ', ';
5 5
 	protected static $column_separator = ',';
6 6
 	protected static $line_break       = 'return';
Please login to merge, or discard this patch.