Skip to content
Permalink
Browse files

MDL-3381 - changing call to ctype_space to remove dependency on ctype…

… (merge from 1.9)
  • Loading branch information...
scyrma
scyrma committed Apr 16, 2008
1 parent 8f7ca00 commit 8e1bd282388a721264979d1ab3759665f63e98bd
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/searchlib.php
@@ -293,7 +293,7 @@ function inquotedstring($content){
// State entered when we've seen an ordinary, non-quoted word. Potentially
// emits a token.
function plainstring($content){
if (ctype_space($content)) { // State exit
if (trim($content) === '') { // State exit
return true;
}
// Add the string to the parsed token array.

0 comments on commit 8e1bd28

Please sign in to comment.
You can’t perform that action at this time.