@@ -700,7 +700,8 @@ discard block |
||
700 | 700 | |
701 | 701 | // Only allow quantity to be set if it's allowed to be edited |
702 | 702 | if ( in_array( $field_id, $allowed_fields ) && $input_id == 3 ) { |
703 | - } else { // otherwise set to what it previously was |
|
703 | + } else { |
|
704 | +// otherwise set to what it previously was |
|
704 | 705 | $_POST[ $input_name ] = $entry[ $input['id'] ]; |
705 | 706 | } |
706 | 707 | } else { |
@@ -1164,7 +1165,7 @@ discard block |
||
1164 | 1165 | |
1165 | 1166 | $back_link = remove_query_arg( array( 'page', 'view', 'edit' ) ); |
1166 | 1167 | |
1167 | - if( ! $this->is_valid ){ |
|
1168 | + if( ! $this->is_valid ) { |
|
1168 | 1169 | |
1169 | 1170 | // Keeping this compatible with Gravity Forms. |
1170 | 1171 | $validation_message = "<div class='validation_error'>" . __('There was a problem with your submission.', 'gravityview') . " " . __('Errors have been highlighted below.', 'gravityview') . "</div>"; |
@@ -2454,9 +2455,7 @@ discard block |
||
2454 | 2455 | // Verify |
2455 | 2456 | else if( ! $this->is_edit_entry() ) { |
2456 | 2457 | $valid = false; |
2457 | - } |
|
2458 | - |
|
2459 | - else { |
|
2458 | + } else { |
|
2460 | 2459 | $valid = wp_verify_nonce( $_GET['edit'], self::$nonce_key ); |
2461 | 2460 | } |
2462 | 2461 |
@@ -2,12 +2,10 @@ discard block |
||
2 | 2 | |
3 | 3 | // autoload_real.php @generated by Composer |
4 | 4 | |
5 | -class ComposerAutoloaderInit4b7f82c050f2fbb25a7fec396dad2fd9 |
|
6 | -{ |
|
5 | +class ComposerAutoloaderInit4b7f82c050f2fbb25a7fec396dad2fd9 { |
|
7 | 6 | private static $loader; |
8 | 7 | |
9 | - public static function loadClassLoader($class) |
|
10 | - { |
|
8 | + public static function loadClassLoader($class) { |
|
11 | 9 | if ('Composer\Autoload\ClassLoader' === $class) { |
12 | 10 | require __DIR__ . '/ClassLoader.php'; |
13 | 11 | } |
@@ -16,8 +14,7 @@ discard block |
||
16 | 14 | /** |
17 | 15 | * @return \Composer\Autoload\ClassLoader |
18 | 16 | */ |
19 | - public static function getLoader() |
|
20 | - { |
|
17 | + public static function getLoader() { |
|
21 | 18 | if (null !== self::$loader) { |
22 | 19 | return self::$loader; |
23 | 20 | } |
@@ -65,8 +62,7 @@ discard block |
||
65 | 62 | } |
66 | 63 | } |
67 | 64 | |
68 | -function composerRequire4b7f82c050f2fbb25a7fec396dad2fd9($fileIdentifier, $file) |
|
69 | -{ |
|
65 | +function composerRequire4b7f82c050f2fbb25a7fec396dad2fd9($fileIdentifier, $file) { |
|
70 | 66 | if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) { |
71 | 67 | require $file; |
72 | 68 |
@@ -4,8 +4,7 @@ discard block |
||
4 | 4 | |
5 | 5 | namespace Composer\Autoload; |
6 | 6 | |
7 | -class ComposerStaticInit4b7f82c050f2fbb25a7fec396dad2fd9 |
|
8 | -{ |
|
7 | +class ComposerStaticInit4b7f82c050f2fbb25a7fec396dad2fd9 { |
|
9 | 8 | public static $files = array ( |
10 | 9 | '5255c38a0faeba867671b61dfda6d864' => __DIR__ . '/..' . '/paragonie/random_compat/lib/random.php', |
11 | 10 | '3109cb1a231dcd04bee1f9f620d46975' => __DIR__ . '/..' . '/paragonie/sodium_compat/autoload.php', |
@@ -178,8 +177,7 @@ discard block |
||
178 | 177 | 'TypeError' => __DIR__ . '/..' . '/paragonie/random_compat/lib/error_polyfill.php', |
179 | 178 | ); |
180 | 179 | |
181 | - public static function getInitializer(ClassLoader $loader) |
|
182 | - { |
|
180 | + public static function getInitializer(ClassLoader $loader) { |
|
183 | 181 | return \Closure::bind(function () use ($loader) { |
184 | 182 | $loader->prefixLengthsPsr4 = ComposerStaticInit4b7f82c050f2fbb25a7fec396dad2fd9::$prefixLengthsPsr4; |
185 | 183 | $loader->prefixDirsPsr4 = ComposerStaticInit4b7f82c050f2fbb25a7fec396dad2fd9::$prefixDirsPsr4; |