XPressME Integration Kit

Trac


Ignore:
Timestamp:
Jun 8, 2009, 11:46:24 AM (15 years ago)
Author:
toemon
Message:

#143 モジュール複製時のXOOPS UID と WordPress? UID 相違による不具合

PHP Fatal error: Cannot redeclare wp_uid_to_xoops_uid()が発生
またUIDの変換が先読みしたモジュールのWordPress UIDが使われる

の修正

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/Ver2.0/xpressme_integration_kit/include/data.inc.php

    r257 r261  
    9292                $ret[$i]['cat_name'] = $row2['cat_name']; 
    9393 
    94                 $ret[$i]['uid'] = wp_uid_to_xoops_uid($row1['post_author']); 
     94                $ret[$i]['uid'] = wp_uid_to_xoops_uid($row1['post_author'],$mydirname); 
    9595                $ret[$i]['replies'] = $row1['comment_count']; 
    9696 
Note: See TracChangeset for help on using the changeset viewer.