Update message_media.php

This commit is contained in:
Nate 2018-12-20 21:55:26 -08:00 committed by GitHub
parent d359d0cd0b
commit 3097deeb1f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 2 additions and 2 deletions

View File

@ -58,7 +58,7 @@
switch (strtolower($media['message_media_type'])) {
case 'jpg':
case 'jpeg': $content_type = 'image/jpg'; $displaybreak;
case 'jpeg': $content_type = 'image/jpg'; break;
case 'png': $content_type = 'image/png'; break;
case 'gif': $content_type = 'image/gif'; break;
case 'aac': $content_type = 'audio/aac'; break;
@ -97,4 +97,4 @@
}
?>
?>