Changeset 496 for trunk/xpressme_integration_kit/include/search.php
- Timestamp:
- Dec 22, 2009, 10:41:14 AM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/xpressme_integration_kit/include/search.php
r415 r496 25 25 } 26 26 if ($userid) { 27 $ userid = xoops_uid_to_wp_uid(intval($userid),$mydirname);27 $wp_uid = xoops_uid_to_wp_uid(intval($userid),$mydirname); 28 28 } 29 29 … … 56 56 } 57 57 if ($userid) { 58 $where .= " AND (post_author=".$userid.")"; 58 if ($wp_uid){ 59 $where .= " AND (post_author=".$wp_uid.")"; 60 } else { 61 $where .= " AND 0 "; 62 } 59 63 } 60 64
Note: See TracChangeset
for help on using the changeset viewer.