style case sensitivity fix

This commit is contained in:
SJ 2014-10-02 10:09:05 +02:00
parent d26b3a7e74
commit e2ef65a112

View File

@ -567,7 +567,7 @@ class ModelSearchMessage extends Model {
$chunk = ''; $chunk = '';
for($i=0; $i<count($h); $i++) { for($i=0; $i<count($h); $i++) {
$pos = strpos($h[$i], "</style>"); $pos = stripos($h[$i], "</style>");
if($pos != FALSE) { if($pos != FALSE) {
$s = substr($h[$i], $pos+8, strlen($h[$i])); $s = substr($h[$i], $pos+8, strlen($h[$i]));
$chunk .= $s . "\n"; $chunk .= $s . "\n";