Hi,

Little mistake : the block "My views saved search" does not work. See line 169 of the current dev version you have to remove the second parameter.
$saved_searches = views_savedsearches_load_multiple($uid, 1);

Question : it seems that the block shows the search or the current user but on the user pages where is shows the saved search of the user profile we're on (which means people can see the other user's searches).

One line above, we have :
$uid = (arg(0) == 'user' && is_numeric(arg(1))) ? arg(1) : $user->uid;

Should be just
$uid=$user->uid if we do not want this. Or at least this should be documented, shouldn't be?

Comments

titi88888888’s picture

Thank you !

This helped me a lot !

lucascaro’s picture

Thanks eme!

aron novak’s picture

Status: Active » Fixed

Committed, thanks.

pydubreucq’s picture

Nice ;)
Thanks Aron

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.