From d9037728313a6efcac069dc77ae4c6bc932455e7 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 6 Jul 2018 08:44:25 +0200 Subject: this is messing with names containing a comma and is superfluous now --- Zotlabs/Module/Notifications.php | 2 -- 1 file changed, 2 deletions(-) (limited to 'Zotlabs/Module/Notifications.php') diff --git a/Zotlabs/Module/Notifications.php b/Zotlabs/Module/Notifications.php index dfa007548..1762ad5f6 100644 --- a/Zotlabs/Module/Notifications.php +++ b/Zotlabs/Module/Notifications.php @@ -41,8 +41,6 @@ class Notifications extends \Zotlabs\Web\Controller { $notifications_available = 1; foreach ($r as $rr) { $x = strip_tags(bbcode($rr['msg'])); - if(strpos($x,',')) - $x = substr($x,strpos($x,',')+1); $notif_content .= replace_macros(get_markup_template('notify.tpl'),array( '$item_link' => z_root().'/notify/view/'. $rr['id'], '$item_image' => $rr['photo'], -- cgit v1.2.3