fix photos in private mail

This commit is contained in:
friendica 2014-02-27 16:01:44 -08:00
parent 5cf0e74501
commit 402d44e2f4
2 changed files with 2 additions and 2 deletions

View File

@ -76,7 +76,7 @@ function send_message($uid = 0, $recipient='', $body='', $subject='', $replyto='
$match = null;
$images = null;
if(preg_match_all("/\[img\](.*?)\[\/img\]/",((strpos($body,'[/crypt]')) ? $_POST['media_str'] : $body),$match))
if(preg_match_all("/\[zmg\](.*?)\[\/zmg\]/",((strpos($body,'[/crypt]')) ? $_POST['media_str'] : $body),$match))
$images = $match[1];
$match = false;

View File

@ -1 +1 @@
2014-02-26.600
2014-02-27.601