fix inbox
This commit is contained in:
parent
862de71cd2
commit
eed43355b3
1 changed files with 1 additions and 1 deletions
|
@ -126,7 +126,7 @@ class Inbox {
|
||||||
public static function user_inbox_post( $request ) {
|
public static function user_inbox_post( $request ) {
|
||||||
|
|
||||||
$user_id = $request->get_param( 'user_id' );
|
$user_id = $request->get_param( 'user_id' );
|
||||||
$user = Users::get_by_various( $user_id );
|
$user = User_Collection::get_by_various( $user_id );
|
||||||
|
|
||||||
if ( is_wp_error( $user ) ) {
|
if ( is_wp_error( $user ) ) {
|
||||||
return $user;
|
return $user;
|
||||||
|
|
Loading…
Reference in a new issue