aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMario <mario@mariovavti.com>2020-01-31 10:29:20 +0000
committerMario <mario@mariovavti.com>2020-01-31 10:29:20 +0000
commit6838342d625236a05695d73efd99f1afdab67d96 (patch)
treee8220bcd88f36682a46d77df083b846ff64d80b9
parent69b25e490e5effba78fcdd9fb991fe71b7523138 (diff)
downloadvolse-hubzilla-6838342d625236a05695d73efd99f1afdab67d96.tar.gz
volse-hubzilla-6838342d625236a05695d73efd99f1afdab67d96.tar.bz2
volse-hubzilla-6838342d625236a05695d73efd99f1afdab67d96.zip
fix php warningÃ
-rw-r--r--Zotlabs/Module/Item.php2
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);
}