filter works perfectly for nodes with type usernode but not for other node types.
instead you can use the argument and return the current user id

argument handling code:

global $user;
$arg[0]=$user->uid;
return $arg;

working on it -> will be fixed soon

Comments

nodestroy’s picture

Status: Active » Fixed

fixed & commited

Anonymous’s picture

Status: Fixed » Closed (fixed)

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