diff options
author | Mario Vavti <mario@mariovavti.com> | 2019-01-02 17:53:28 +0100 |
---|---|---|
committer | Mario Vavti <mario@mariovavti.com> | 2019-01-02 17:53:28 +0100 |
commit | b0339b848fc28aabee6cdc1b971330afc8e5ca89 (patch) | |
tree | cd0c3012bbf3ec7fbe2c694a9ccee6fe8c28da0f | |
parent | 37d7d18bb7b1e3bcadbb11c43a761d6953c2dc55 (diff) | |
download | volse-hubzilla-b0339b848fc28aabee6cdc1b971330afc8e5ca89.tar.gz volse-hubzilla-b0339b848fc28aabee6cdc1b971330afc8e5ca89.tar.bz2 volse-hubzilla-b0339b848fc28aabee6cdc1b971330afc8e5ca89.zip |
fix preg_match(): Delimiter must not be alphanumeric or backslash warning
-rw-r--r-- | Zotlabs/Module/Pconfig.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Pconfig.php b/Zotlabs/Module/Pconfig.php index f31d5fdf6..06b94b34f 100644 --- a/Zotlabs/Module/Pconfig.php +++ b/Zotlabs/Module/Pconfig.php @@ -24,7 +24,7 @@ class Pconfig extends \Zotlabs\Web\Controller { $aj = intval($_POST['aj']); // Do not store "serialized" data received in the $_POST - if (preg_match('|^a:[0-9]+:{.*}$|s',$v) || preg_match('O:8:"stdClass":[0-9]+:{.*}$|s',$v)) { + if (preg_match('|^a:[0-9]+:{.*}$|s',$v) || preg_match('|O:8:"stdClass":[0-9]+:{.*}$|s',$v)) { return; } |