diff options
author | Harald Eilertsen <haraldei@anduin.net> | 2021-07-10 15:58:01 +0200 |
---|---|---|
committer | Harald Eilertsen <haraldei@anduin.net> | 2021-07-10 15:58:47 +0200 |
commit | 9f2ec2f89ee9cbed6e5d74b1f7b5132cc8b44ea7 (patch) | |
tree | c2c5d91f6d6b707eef9956b98115356627873700 /unshorturl | |
parent | 8dfad02d8e048576cee6fe15747b5b381f02f05b (diff) | |
download | volse-hz-addons-9f2ec2f89ee9cbed6e5d74b1f7b5132cc8b44ea7.tar.gz volse-hz-addons-9f2ec2f89ee9cbed6e5d74b1f7b5132cc8b44ea7.tar.bz2 volse-hz-addons-9f2ec2f89ee9cbed6e5d74b1f7b5132cc8b44ea7.zip |
unshorturl: /g modifier not supported in php regex
Diffstat (limited to 'unshorturl')
-rw-r--r-- | unshorturl/unshorturl.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/unshorturl/unshorturl.php b/unshorturl/unshorturl.php index af7e902..bf79fe3 100644 --- a/unshorturl/unshorturl.php +++ b/unshorturl/unshorturl.php @@ -27,5 +27,5 @@ function unshorturl_prepare_body(&$body) { return; } - preg_replace('/https?:\/\/bit.ly\/[^\s]+/g', '[hidden bitly link]', $body['html']); + preg_replace('/https?:\/\/bit.ly\/[^\s]+/', '[hidden bitly link]', $body['html']); } |