Hi, To check if a key has a value - I think we should use: if (isset($array['key']) && $array['key'])
and to check if it has no value: if (!isset($array['key']) || !$array['key']) What do you think? Regards Sigurd Johan Gunnarsson wrote: > Hi, > I stumbled upon some NOTICE errors while hacking on a hook on password > changes. See attachment. > > (This is my first phpgw patch - yay!) > ------------------------------------------------------------------------ > > _______________________________________________ > phpGroupWare-developers mailing list > [email protected] > http://lists.gnu.org/mailman/listinfo/phpgroupware-developers _______________________________________________ phpGroupWare-developers mailing list [email protected] http://lists.gnu.org/mailman/listinfo/phpgroupware-developers
