fix a small glitch in phpbb_chmod

git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@8784 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
Meik Sievertsen 2008-08-23 17:24:40 +00:00
parent 4d7b9b76fa
commit 2cd45dd574

View file

@ -566,7 +566,7 @@ function phpbb_chmod($filename, $perms = CHMOD_READ)
case 'owner':
$result = @chmod($filename, ($owner << 6) + (0 << 3) + (0 << 0));
if (!is_null($php) || (!is_readable($filename) && is_writable($filename)))
if (!is_null($php) || (is_readable($filename) && is_writable($filename)))
{
break;
}