[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [phpGroupWare-developers] [patch] Fix for NOTICEs in preferences/cha
From: |
Maat |
Subject: |
Re: [phpGroupWare-developers] [patch] Fix for NOTICEs in preferences/changepassword.php |
Date: |
Sat, 14 Jul 2007 10:09:41 +0200 |
User-agent: |
Thunderbird 2.0.0.4 (X11/20070620) |
Chris Weiss a écrit :
> On 6/10/07, Sigurd Nes <address@hidden> wrote:
>> Hi,
>> if (isset($array['key']) && $array['key'])
>
> what if it's value evaluates to false?
> I do agree that it needs more than just isset() though.
>
>
valid from php 4.0.7 :
if ( @is_array($array) && |array_key_exists('key', $array))
|my 2 cents
--
In a world without walls or fences, there would be no need for windows or
gates...
- Re: [phpGroupWare-developers] [patch] Fix for NOTICEs in preferences/changepassword.php,
Maat <=