Changeset 9121 for trunk/src/bp-groups/bp-groups-functions.php
- Timestamp:
- 11/03/2014 06:26:26 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/bp-groups/bp-groups-functions.php
r9027 r9121 121 121 122 122 // Set creator ID 123 if ( ! empty( $creator_id )) {123 if ( $creator_id ) { 124 124 $group->creator_id = (int) $creator_id; 125 } else {125 } elseif ( is_user_logged_in() ) { 126 126 $group->creator_id = bp_loggedin_user_id(); 127 } 128 129 if ( ! $group->creator_id ) { 130 return false; 127 131 } 128 132
Note: See TracChangeset
for help on using the changeset viewer.