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/xpressme_class.php

    r833 r860  
    367367                $sql .=    "('$cat_id', '', '$title','a:0:{}')"; 
    368368                $xoops_db->query($sql); 
    369                 $insert_forum_id = mysql_insert_id(); 
     369                $insert_forum_id = $xoops_db->insert_id; 
    370370                $sql  = "INSERT INTO $d3forum_forum_access_tbl "; 
    371371                $sql .=    "(forum_id, groupid, can_post, can_edit, can_delete, post_auto_approved, is_moderator) "; 
Note: See TracChangeset for help on using the changeset viewer.