--- Roman Neuhauser <neuhauser@xxxxxxxxxx> wrote: > # cool_screen_name90001@xxxxxxxxx / 2005-08-11 > 17:36:49 -0700: > > --- Roman Neuhauser <neuhauser@xxxxxxxxxx> 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. Doh! I fixed it but I'm still getting the same warnings in the log. I'd guess maybe it's something plphp is doing on its own with references, but I should probably play around with some more plphp functions and see if they generate the same warnings. Anyhow, thanks for the help. CSN __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ---------------------------(end of broadcast)--------------------------- TIP 5: don't forget to increase your free space map settings