diff --git a/app/voicemail_msgs/voicemail_msgs.php b/app/voicemail_msgs/voicemail_msgs.php index 665c1a36c1..6da796d14b 100644 --- a/app/voicemail_msgs/voicemail_msgs.php +++ b/app/voicemail_msgs/voicemail_msgs.php @@ -183,7 +183,7 @@ else { echo " \n"; echo "\n"; echo "\n"; - echo " \n"; + echo " \n"; echo " \n"; echo "\n"; echo "\n"; @@ -222,14 +222,13 @@ else { $extension_uuid = $value['extension_uuid']; break; } - $x++; } - $tmp_filesize = filesize($row[file_path]); + $tmp_filesize = filesize($row['file_path']); $tmp_filesize = byte_convert($tmp_filesize); - $file_ext = substr($row[file_path], -3); + $file_ext = substr($row['file_path'], -3); - $tmp_message_len = $row[message_len]; + $tmp_message_len = $row['message_len']; if ($tmp_message_len < 60 ) { $tmp_message_len = $tmp_message_len. " sec"; } @@ -237,7 +236,7 @@ else { $tmp_message_len = round(($tmp_message_len/60), 2). " min"; } - if ($row[read_epoch] == 0) { + if ($row['read_epoch'] == 0) { $style = "style=\"font-weight: bold;\""; } else { @@ -248,10 +247,10 @@ else { echo " "; echo date("j M Y g:i a",$row['created_epoch']); echo "\n"; - //echo " ".$row[read_epoch]."\n"; - //echo " ".$row[username]."\n"; - //echo " ".$row[domain]."\n"; - //echo " ".$row[uuid]."\n"; + //echo " ".$row['read_epoch']."\n"; + //echo " ".$row['username']."\n"; + //echo " ".$row['domain']."\n"; + //echo " ".$row['uuid']."\n"; echo " ".$row['cid_name']."\n"; echo " ".$row['cid_number']."\n"; echo " ".$row['in_folder']."\n";