mirror of
https://github.com/silverstripe/silverstripe-fulltextsearch
synced 2024-10-22 14:05:29 +02:00
FIX Allow deprecated warnings
This commit is contained in:
parent
9de2764faa
commit
a621f77380
@ -501,7 +501,7 @@ abstract class SearchIndex extends ViewableData
|
||||
$errorHandler = function ($no, $str) {
|
||||
throw new Exception('HTML Parse Error: ' . $str);
|
||||
};
|
||||
set_error_handler($errorHandler, E_ALL);
|
||||
set_error_handler($errorHandler, E_ALL & ~(E_DEPRECATED | E_USER_DEPRECATED));
|
||||
|
||||
try {
|
||||
foreach ($field['lookup_chain'] as $step) {
|
||||
|
Loading…
Reference in New Issue
Block a user