Improved handling of photos
This commit is contained in:
parent
856f54da62
commit
0b121a6ffe
2 changed files with 7 additions and 3 deletions
|
|
@ -85,7 +85,7 @@ function get_attachment_data($body) {
|
|||
if ($type == "")
|
||||
return(array());
|
||||
|
||||
if (!in_array($type, array("link", "audio", "video")))
|
||||
if (!in_array($type, array("link", "audio", "photo", "video")))
|
||||
return(array());
|
||||
|
||||
if ($type != "")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue