Turn string to upper. Props Donncha. fixes #4350
git-svn-id: https://develop.svn.wordpress.org/trunk@5572 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
cfa15d668b
commit
d5816ce68b
@ -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