mirror of
https://github.com/WordPress/WordPress.git
synced 2024-09-28 15:17:42 +02:00
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) {
|
function bool_from_yn($yn) {
|
||||||
if ($yn == 'Y') return 1;
|
if (strtoupper( $yn ) == 'Y') return 1;
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user