diff options
author | Julian Brost | 2018-12-09 16:00:31 +0100 |
---|---|---|
committer | Julian Brost | 2018-12-09 16:00:31 +0100 |
commit | 16e710fe4e462ef80302014ab4ac6628d412c664 (patch) | |
tree | d9c5c8bc49fb09baca87389735f2541c654dfe15 /plugin/users.php | |
parent | Merge pull request #162 from Self-Perfection/patch-1 (diff) | |
download | apt-panopticon_cgp-16e710fe4e462ef80302014ab4ac6628d412c664.zip apt-panopticon_cgp-16e710fe4e462ef80302014ab4ac6628d412c664.tar.gz apt-panopticon_cgp-16e710fe4e462ef80302014ab4ac6628d412c664.tar.bz2 apt-panopticon_cgp-16e710fe4e462ef80302014ab4ac6628d412c664.tar.xz |
functions.inc.php: escape minus in regex
This makes CGP work on PHP 7.3 as it otherwise only shows an "Unknown
host" error message and logs the following PHP warning:
PHP Warning: preg_match(): Compilation failed: invalid range in
character class at offset 4 in .../inc/functions.inc.php on line 37
Diffstat (limited to 'plugin/users.php')
0 files changed, 0 insertions, 0 deletions