File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -372,7 +372,7 @@ protected function getRegexps()
372372
373373 if ($ skip ) {
374374 $ skipRE = '/ ' . $ skip . '/ ' ;
375- if (@preg_match ($ skipRE , null ) === false ) {
375+ if (@preg_match ($ skipRE , '' ) === false ) {
376376 $ this ->error (preg_last_error_msg ());
377377 $ this ->error ('Invalid regular expression in $conf[ \'skipRegex \']. Ignored. ' );
378378 $ skipRE = '' ;
@@ -383,7 +383,7 @@ protected function getRegexps()
383383
384384 if ($ match ) {
385385 $ matchRE = '/ ' . $ match . '/ ' ;
386- if (@preg_match ($ matchRE , null ) === false ) {
386+ if (@preg_match ($ matchRE , '' ) === false ) {
387387 $ this ->error (preg_last_error_msg ());
388388 $ this ->error ('Invalid regular expression in $conf[ \'matchRegex \']. Ignored. ' );
389389 $ matchRE = '' ;
You can’t perform that action at this time.
0 commit comments