Skip to content
Snippets Groups Projects
Commit 8fa41dc9 authored by vtigerosm's avatar vtigerosm
Browse files

Replace ereg_replace with preg_replace to prevent Fatal error with PHP7

parents b187f094 935753b9
No related branches found
No related tags found
Loading
Loading
  • Manuel @manuelgit ·
    Contributor

    @vtigerosm maybe this can handle better

    $relationQuery = preg_replace("/[ \t\n\r]+/", " ", $relationQuery);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment