[drupal-devel] reviews needed

Adrian Rossouw adrian at bryght.com
Thu Oct 6 13:40:47 UTC 2005


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

*blush*
On 06 Oct 2005, at 3:27 PM, Adrian Rossouw wrote:
> function locale($string) {
>   $string['Custom URL'] = 'Path Alias';
>   return $translate[$string];
> }
Should be :

function locale($string) {
   $translate['Custom URL'] = 'Path Alias';
   return $translate[$string];
}

Even 4 lines of code can contain bugs.




- --
Adrian Rossouw
Drupal developer and Bryght Guy
http://drupal.org | http://bryght.com


-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (Darwin)

iD8DBQFDRSlRgegMqdGlkasRAkE3AKC5VTTzQ0WYWfK/Yy+zIjm86tAWGwCgnDNU
vq+ws1tgmx+P0wFonUxVWoE=
=MatI
-----END PGP SIGNATURE-----



More information about the drupal-devel mailing list