Code Duplication    Length = 2-2 lines in 2 locations

geodirectory-functions/general_functions.php 2 locations

@@ 411-412 (lines=2) @@
408
			}
409
			break;
410
		case 'checkout':
411
			if ( is_page() && function_exists( 'geodir_payment_checkout_page_id' ) && get_query_var( 'page_id' ) == geodir_payment_checkout_page_id() ) {
412
				return true;
413
			}
414
			break;
415
		case 'invoices':
@@ 416-417 (lines=2) @@
413
			}
414
			break;
415
		case 'invoices':
416
			if ( is_page() && function_exists( 'geodir_payment_invoices_page_id' ) && get_query_var( 'page_id' ) == geodir_payment_invoices_page_id() ) {
417
				return true;
418
			}
419
			break;
420
		default: