Completed
Push — master ( 21157a...9cf7be )
by Zack
84:58 queued 65:12
created
gravityview.php 1 patch
Braces   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -351,7 +351,7 @@  discard block
 block discarded – undo
351 351
      * @param mixed $data Additional data to display
352 352
      * @return void
353 353
      */
354
-    public static function log_debug( $message, $data = null ){
354
+    public static function log_debug( $message, $data = null ) {
355 355
 	    /**
356 356
 	     * @action `gravityview_log_debug` Log a debug message that shows up in the Gravity Forms Logging Addon and also the Debug Bar plugin output
357 357
 	     * @param string $message Message to display
@@ -365,7 +365,7 @@  discard block
 block discarded – undo
365 365
      * @param  string $message log message
366 366
      * @return void
367 367
      */
368
-    public static function log_error( $message, $data = null ){
368
+    public static function log_error( $message, $data = null ) {
369 369
 	    /**
370 370
 	     * @action `gravityview_log_error` Log an error message that shows up in the Gravity Forms Logging Addon and also the Debug Bar plugin output
371 371
 	     * @param string $message Error message to display
Please login to merge, or discard this patch.
includes/extensions/edit-entry/class-edit-entry-render.php 1 patch
Braces   +2 added lines, -4 removed lines patch added patch discarded remove patch
@@ -536,7 +536,7 @@  discard block
 block discarded – undo
536 536
             // Display the success message
537 537
             if( rgpost('action') === 'update' ) {
538 538
 
539
-                if( ! $this->is_valid ){
539
+                if( ! $this->is_valid ) {
540 540
 
541 541
                     // Keeping this compatible with Gravity Forms.
542 542
                     $validation_message = "<div class='validation_error'>" . __('There was a problem with your submission.', 'gravityview') . " " . __('Errors have been highlighted below.', 'gravityview') . "</div>";
@@ -1519,9 +1519,7 @@  discard block
 block discarded – undo
1519 1519
         // Verify
1520 1520
         else if( ! $this->is_edit_entry() ) {
1521 1521
             $valid = false;
1522
-        }
1523
-
1524
-        else {
1522
+        } else {
1525 1523
             $valid = wp_verify_nonce( $_GET['edit'], self::$nonce_key );
1526 1524
         }
1527 1525
 
Please login to merge, or discard this patch.