Skip to content

Commit bc5a716

Browse files
committed
Spaces
1 parent 6cbd86e commit bc5a716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/my-calendar-event-editor.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2214,7 +2214,7 @@ function mc_check_data( $action, $post, $i, $ignore_required = false ) {
22142214
if ( 'none' === $location_preset && ( empty( $post['event_label'] ) && ! is_numeric( $event_location ) ) ) {
22152215
// If no event data defined, do nothing.
22162216
} else {
2217-
$location_to_set = ( is_numeric( $location_preset) ) ? $location_preset: $event_location;
2217+
$location_to_set = ( is_numeric( $location_preset ) ) ? $location_preset : $event_location;
22182218
if ( is_numeric( $location_to_set ) ) {
22192219
$location = $wpdb->get_row( $wpdb->prepare( 'SELECT * FROM ' . my_calendar_locations_table() . ' WHERE location_id = %d', $location_to_set ) ); // phpcs:ignore WordPress.DB.PreparedSQL.NotPrepared
22202220
if ( is_object( $location ) ) {

0 commit comments

Comments
 (0)