svn: /web/php-bugs/trunk/include/ functions.php trusted-devs.php

From: Date: Thu, 24 Mar 2011 12:35:17 +0000
Subject: svn: /web/php-bugs/trunk/include/ functions.php trusted-devs.php
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-10728@lists.php.net to get a copy of this message
felipe Thu, 24 Mar 2011 12:35:17 +0000 Revision: http://svn.php.net/viewvc?view=revision&revision=309646 Log: - Fix login and user checking Changed paths: U web/php-bugs/trunk/include/functions.php U web/php-bugs/trunk/include/trusted-devs.php Modified: web/php-bugs/trunk/include/functions.php =================================================================== --- web/php-bugs/trunk/include/functions.php 2011-03-24 12:22:11 UTC (rev 309645) +++ web/php-bugs/trunk/include/functions.php 2011-03-24 12:35:17 UTC (rev 309646) @@ -183,10 +183,10 @@ if ($logged_in == 'developer') { require_once "{$ROOT_DIR}/include/trusted-devs.php"; - if (in_array($user, $trusted_developers)) { + if (in_array(strtolower($user), $trusted_developers)) { $user_flags |= BUGS_TRUSTED_DEV; } - if (in_array($user, $security_developers)) { + if (in_array(strtolower($user), $security_developers)) { $user_flags |= BUGS_SECURITY_DEV; } } Modified: web/php-bugs/trunk/include/trusted-devs.php =================================================================== --- web/php-bugs/trunk/include/trusted-devs.php 2011-03-24 12:22:11 UTC (rev 309645) +++ web/php-bugs/trunk/include/trusted-devs.php 2011-03-24 12:35:17 UTC (rev 309646) @@ -43,7 +43,7 @@ 'andi', 'scottmac', 'dmitry', - 'cataphrac', + 'cataphract', ); $security_developers = array_merge($security_developers, array_keys($security_distro_people));

« previous php.webmaster (#10728) next »