diff options
author | Mario <mario@mariovavti.com> | 2020-01-31 10:29:20 +0000 |
---|---|---|
committer | Mario <mario@mariovavti.com> | 2020-01-31 10:29:20 +0000 |
commit | 6838342d625236a05695d73efd99f1afdab67d96 (patch) | |
tree | e8220bcd88f36682a46d77df083b846ff64d80b9 /Zotlabs/Module | |
parent | 69b25e490e5effba78fcdd9fb991fe71b7523138 (diff) | |
download | volse-hubzilla-6838342d625236a05695d73efd99f1afdab67d96.tar.gz volse-hubzilla-6838342d625236a05695d73efd99f1afdab67d96.tar.bz2 volse-hubzilla-6838342d625236a05695d73efd99f1afdab67d96.zip |
fix php warningĂ
Diffstat (limited to 'Zotlabs/Module')
-rw-r--r-- | Zotlabs/Module/Item.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Zotlabs/Module/Item.php b/Zotlabs/Module/Item.php index 8b4bbae91..21d59fbc1 100644 --- a/Zotlabs/Module/Item.php +++ b/Zotlabs/Module/Item.php @@ -1436,7 +1436,7 @@ class Item extends Controller { $matches = null; - if (preg_match('/\[ends\](.*?)\[\/ends\]',$body,$matches)) { + if (preg_match('/\[ends\](.*?)\[\/ends\]/',$body,$matches)) { $obj['endTime'] = datetime_convert(date_default_timezone_get(),'UTC', $matches[1],ATOM_TIME); $body = str_replace('[ends]' . $match[1] . '[/ends]', EMPTY_STR, $body); } |