diff options
author | friendica <info@friendica.com> | 2014-02-27 16:01:44 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-02-27 16:01:44 -0800 |
commit | 402d44e2f4a7db97236d1999076ef57b69cec4b9 (patch) | |
tree | d9b2cb4be8c35932db7d7b77eaac8cf6940cc4f0 /include/message.php | |
parent | 5cf0e74501f4e72b29f8f486e8d6aac769d0ed24 (diff) | |
download | volse-hubzilla-402d44e2f4a7db97236d1999076ef57b69cec4b9.tar.gz volse-hubzilla-402d44e2f4a7db97236d1999076ef57b69cec4b9.tar.bz2 volse-hubzilla-402d44e2f4a7db97236d1999076ef57b69cec4b9.zip |
fix photos in private mail
Diffstat (limited to 'include/message.php')
-rw-r--r-- | include/message.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/message.php b/include/message.php index a95021583..607166ec9 100644 --- a/include/message.php +++ b/include/message.php @@ -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; |