Re: no overloaded magic??

[prev] [thread] [next] [Date index for 2004/09/15]

From: Michael Jensen
Subject: Re: no overloaded magic??
Date: 21:00 on 15 Sep 2004
That was it! Makes sense...weird that it was working sometimes and not 
other times.

THANKS!!

-Michael


On Sep 15, 2004, at 3:56 PM, Edward J. Sabol wrote:

>> % ## IF group 1/2/3
>> % if ($user->group_id < 4) {
>>                         some stuff here...
>> % }
> [..]
>> Operation `<': no method found,
>> left argument in overloaded package Table::Groups,
>> right argument has no overloaded magic at
>> /home/webtree/home/www.acutext.com/html/o/siteMenu.mas line 45.
>>
>> Any thoughts?
>
> My guess is that you probably want to change "$user->group_id" to
> "$user->group_id->id".
>


no overloaded magic??
Michael Jensen 20:47 on 15 Sep 2004

Re: no overloaded magic??
Perrin Harkins 20:59 on 15 Sep 2004

Re: no overloaded magic??
jason 21:03 on 15 Sep 2004

Re: no overloaded magic??
Michael Jensen 21:00 on 15 Sep 2004

Re: no overloaded magic??
Tim Bunce 11:22 on 17 Sep 2004

Generated at 11:34 on 01 Dec 2004 by mariachi v0.52