Skip to content

Commit 42a33c0

Browse files
authored
gw-draft-resume-change-notice.php: Added new snippet that displays a notice when a user resumes draft from a new IP/UA.
1 parent aad73a5 commit 42a33c0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

gravity-forms/gw-draft-resume-change-notice.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,10 +19,10 @@
1919
$draft = $wpdb->get_row(
2020
$wpdb->prepare(
2121
sprintf(
22-
"SELECT form_id, ip, submission FROM `%s` WHERE uuid = %%s",
22+
'SELECT form_id, ip, submission FROM `%s` WHERE uuid = %%s',
2323
esc_sql( $table )
2424
),
25-
$uuid
25+
$token
2626
)
2727
);
2828

0 commit comments

Comments
 (0)