Import from spreadsheet, bug?
-
It seems that the import from spreadsheet function is not working anymore.
Please check
Functions/Update_Admin_Databases.php
line 198 (Changeset 2348570). I don’t think that you should sql escape the values string, as there are single quotes in this string. They would be escaped and then the sql query fails.Possible workaround:
$ValuesString = implode("','", esc_sql($Values)); $wpdb->query( $wpdb->prepare("INSERT INTO $ewd_feup_user_table_name (" . esc_sql( $FieldsString ) . ", User_Date_Created) VALUES ('" . $ValuesString . "','%s')", $Today) );
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Import from spreadsheet, bug?’ is closed to new replies.