On 12/30/06, Octavian Rasnita <[EMAIL PROTECTED]> wrote:
Hi,
I have tried to get the id of the currently logged user, using:
$c->user->id
But it returned same thing as
$c->user (the username and not its ID).
Hi Octavian,
Assuming you are using DBIC, try:
$c->user->get_column('id')
Regards,
Kennedy
_______________________________________________
List: [email protected]
Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst
Searchable archive: http://www.mail-archive.com/[email protected]/
Dev site: http://dev.catalyst.perl.org/