Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

Re: [Franco] Tags available in reply.eml

Quote Reply
Re: [Franco] Tags available in reply.eml In reply to
I got a fatal error when I tried the global var of the last post. But Jason told me rapidly in a private message what was missing in the var. So, we should use instead this:

Code:
sub {

my ($user_id, $prefix) = @_;

$prefix ||= "";
my $user = $DB->table('User')->get($user_id) or return;
require GForum::User;
GForum::User::normalize($user);

my $return = {};


for (keys %$user) { $return->{$prefix . $_} = $user->{$_} }
$return;
}


This solution works perfectly! Thank you to Jason! I'm still always impressed by the high quality of your support! Smile

François
Subject Author Views Date
Thread Tags available in reply.eml Franco 1874 Jun 12, 2002, 12:06 PM
Post Re: [Franco] Tags available in reply.eml
Jagerman 1765 Jun 13, 2002, 2:23 PM
Post Re: [Franco] Tags available in reply.eml
Franco 1755 Jun 13, 2002, 8:33 PM