diff --git a/app/voicemails/voicemail_messages.php b/app/voicemails/voicemail_messages.php index 75dc93fe82..bf9bbddb34 100644 --- a/app/voicemails/voicemail_messages.php +++ b/app/voicemails/voicemail_messages.php @@ -284,17 +284,19 @@ if (is_array($field['messages']) && @sizeof($field['messages']) > 0) { foreach ($field['messages'] as $row) { //responsive date - $array = explode(' ', $row['created_date']); - if ($array[0].' '.$array[1].' '.$array[2] == date('j M Y')) { //today - $created_date = escape($array[3].' '.$array[4]); //only show time - } - else { - $created_date = escape($array[0].' '.$array[1].' '.$array[2])." "; - } + $array = explode(' ', $row['created_date']); + if ($array[0].' '.$array[1].' '.$array[2] == date('j M Y')) { //today + $created_date = escape($array[3].' '.$array[4]); //only show time + } + else { + $created_date = escape($array[0].' '.$array[1].' '.$array[2])." "; + } + //playback progress bar - echo "
\n"; - echo "\n"; // dummy row to maintain alternating background color - $style = ($row['message_status'] == '' && $_REQUEST["uuid"] != $row['voicemail_message_uuid']) ? "style='font-weight: bold;'" : null; + echo "\n"; + echo "\n"; // dummy row to maintain alternating background color + + $bold = ($row['message_status'] == '' && $_REQUEST["uuid"] != $row['voicemail_message_uuid']) ? "style='font-weight: bold;'" : null; $list_row_url = "javascript:recording_play('".escape($row['voicemail_message_uuid'])."');"; echo "