Skip to content

Commit

Permalink
small fix to trim statement
Browse files Browse the repository at this point in the history
Signed-off-by: Shawn Parker <shawn@topfroggraphics.com>
  • Loading branch information
anderly authored and Gipetto committed Aug 13, 2011
1 parent bb8f584 commit fe93412
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OpenVBX/models/vbx_message.php
Original file line number Diff line number Diff line change
Expand Up @@ -396,7 +396,7 @@ function notify_message($message, $notify = false)
$recording_host = $ci->settings->get('recording_host', VBX_PARENT_TENANT);

$vm_url = $message->content_url;
if (trim($recording_host != '')) {
if (trim($recording_host) != '') {
$vm_url = str_replace('api.twilio.com',$recording_host, $vm_url);
}
$message->content_url = $vm_url;
Expand Down

0 comments on commit fe93412

Please sign in to comment.