XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 15, 2016, 9:52:13 AM (8 years ago)
Author:
toemon
Message:

PHP7 対応 Fix #431
thx nao-pon

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xpressme_integration_kit/wp-content/plugins/xpressme/include/user_sync_xoops.php

    r665 r860  
    267267                                $wu_sql .=              " , '$user_regist_time', $user_status, '$user_display_name')"; 
    268268                                $xoops_db->query($wu_sql); 
    269                                 $wp_user_id = mysql_insert_id(); 
     269                                $wp_user_id = $xoops_db->insert_id; 
    270270                        } else {         // WP User ID has not been used yet.  
    271271                                $wu_sql  =      "INSERT INTO $db_xpress_users "; 
Note: See TracChangeset for help on using the changeset viewer.