Tarea #1075 -> No se muestran las dedicatorias privadas en el perfil del usuario (ni las que manda ni las que recibe)
git-svn-id: https://192.168.0.254/svn/Proyectos.ASong2U_Web/trunk@174 cd1a4ea2-8c7f-e448-aada-19d1fee9e1d6
This commit is contained in:
parent
7fb7a8c167
commit
774750b55d
@ -17,6 +17,7 @@ function bp_dedication_get_dedications_from_user( $user_id ) {
|
||||
return false;
|
||||
|
||||
$args = array(
|
||||
'post_status' => array('publish', 'private'),
|
||||
'numberposts' => -1,
|
||||
'category' => get_cat_id('dedication'),
|
||||
'author' => $user_id
|
||||
@ -31,6 +32,7 @@ function bp_dedication_get_dedications_to_user( $user_id ) {
|
||||
return false;
|
||||
|
||||
$args = array(
|
||||
'post_status' => array('publish', 'private'),
|
||||
'numberposts' => -1,
|
||||
'category' => 'dedication',
|
||||
'meta_key' => 'ghostpool_destination_user_id',
|
||||
|
||||
Loading…
Reference in New Issue
Block a user