Turn string to upper. Props Donncha. fixes #4350

git-svn-id: http://svn.automattic.com/wordpress/trunk@5572 1a063a9b-81f0-0310-95a4-ce76da25c4cd
This commit is contained in:
rob1n 2007-05-28 17:05:46 +00:00
parent 7e9cfad780
commit 673cab8183
1 changed files with 1 additions and 1 deletions

View File

@ -754,7 +754,7 @@ function get_num_queries() {
}
function bool_from_yn($yn) {
if ($yn == 'Y') return 1;
if (strtoupper( $yn ) == 'Y') return 1;
return 0;
}