aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2019-01-03 16:30:14 +0100
committerMax Kostikov <max@kostikov.co>2019-01-03 16:30:14 +0100
commit16064d5614dece224dc7d7903f454ad92c7a5ac2 (patch)
tree2201a2ad68b0f1bbab1332837c04fb31358058f1
parentd9f21db6236e69d550de443bff6c5b588a52c139 (diff)
parentb0339b848fc28aabee6cdc1b971330afc8e5ca89 (diff)
downloadvolse-hubzilla-16064d5614dece224dc7d7903f454ad92c7a5ac2.tar.gz
volse-hubzilla-16064d5614dece224dc7d7903f454ad92c7a5ac2.tar.bz2
volse-hubzilla-16064d5614dece224dc7d7903f454ad92c7a5ac2.zip
Merge branch 'fix_pconfig' into 'dev'
fix preg_match(): Delimiter must not be alphanumeric or backslash warning See merge request hubzilla/core!1452
-rw-r--r--Zotlabs/Module/Pconfig.php2
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;
}