Suppress potential is_readable() warning. Fixes #12148 props ocean90

git-svn-id: http://svn.automattic.com/wordpress/trunk@13429 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
nacin 2010-02-26 07:25:10 +00:00
parent 64d5d9e55c
commit a208566e67
1 changed files with 1 additions and 1 deletions

View File

@ -55,7 +55,7 @@ class PasswordHash {
function get_random_bytes($count)
{
$output = '';
if (is_readable('/dev/urandom') &&
if ( @is_readable('/dev/urandom') &&
($fh = @fopen('/dev/urandom', 'rb'))) {
$output = fread($fh, $count);
fclose($fh);