# [EMAIL PROTECTED] / 2005-08-11 17:36:49 -0700: > --- Roman Neuhauser <[EMAIL PROTECTED]> wrote: > > Can you post the code that triggers the warning? > > Sure- > > > CREATE or REPLACE FUNCTION email_activated_member () > RETURNS trigger AS $$ > > $new=$_TD['new']; > $old=$_TD['old']; > > if(($_TD['event']=='INSERT' and $new['active']='t') or
You are assigning to $new['active'] instead of the probably wanted comparison. I don't see any byref arguments, and don't know how to help further. -- How many Vietnam vets does it take to screw in a light bulb? You don't know, man. You don't KNOW. Cause you weren't THERE. http://bash.org/?255991 ---------------------------(end of broadcast)--------------------------- TIP 4: Have you searched our list archives? http://archives.postgresql.org