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:
parent
7e9cfad780
commit
673cab8183
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue