Completed
Pull Request — develop (#1360)
by Gennady
15:19
created
includes/extensions/duplicate-entry/class-duplicate-entry.php 1 patch
Indentation   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -237,7 +237,7 @@  discard block
 block discarded – undo
237 237
 	public static function get_duplicate_link( $entry, $view_id, $post_id = null ) {
238 238
 		self::getInstance()->set_entry( $entry );
239 239
 
240
-        $base = GravityView_API::directory_link( $post_id ? : $view_id, true );
240
+		$base = GravityView_API::directory_link( $post_id ? : $view_id, true );
241 241
 
242 242
 		if ( empty( $base ) ) {
243 243
 			gravityview()->log->error( 'Post ID does not exist: {post_id}', array( 'post_id' => $post_id ) );
@@ -251,7 +251,7 @@  discard block
 block discarded – undo
251 251
 			'action'	=> 'duplicate',
252 252
 			'entry_id'	=> $entry_slug,
253 253
 			'gvid' => $view_id,
254
-            'view_id' => $view_id,
254
+			'view_id' => $view_id,
255 255
 		), $base );
256 256
 
257 257
 		$url = wp_nonce_url( $actionurl, 'duplicate_'.$entry_slug, 'duplicate' );
@@ -442,7 +442,7 @@  discard block
 block discarded – undo
442 442
 		 * @since develop
443 443
 		 * @param  array $duplicated_entry The duplicated entry
444 444
 		 * @param  array $entry The original entry
445
-		*/
445
+		 */
446 446
 		do_action( 'gravityview/duplicate-entry/duplicated', $duplicated_entry, $entry );
447 447
 
448 448
 		gravityview()->log->debug( 'Duplicate response: {duplicate_response}', array( 'duplicate_response' => $duplicate_response ) );
Please login to merge, or discard this patch.