[mythtv] [mythtv-commits] mythtv commit: r11713 by xris

Colin Guthrie mythtv at colin.guthr.ie
Wed Nov 15 22:02:38 UTC 2006


mythtv at cvs.mythtv.org wrote:
>       Author: xris
>         Date: 2006-11-11 08:48:59 +0000 (Sat, 11 Nov 2006)
> New Revision: 11713
>    Changeset: http://cvs.mythtv.org/trac/changeset/11713
> 
> Modified:
> 
>    trunk/mythplugins/mythweb/includes/init.php
> 
> Log:
> 
> correct my last commit for array_key_exists()

FWIW, Chris, I always quite like using:

if (!empty($_SERVER['error_mail']))
{
  ...
}

rather than the array_key_exists().

I'm pretty sure it's faster to run and it seems neater too.

Just pointing it out incase you didn't know.

Col.

-- 

+------------------------+
|     Colin Guthrie      |
+------------------------+
| myth(at)colin.guthr.ie |
| http://colin.guthr.ie/ |
+------------------------+


More information about the mythtv-dev mailing list