diff --git a/app/registrations/registrations.php b/app/registrations/registrations.php
index ba45bba347..9c9fafef6e 100644
--- a/app/registrations/registrations.php
+++ b/app/registrations/registrations.php
@@ -187,7 +187,6 @@
echo "
".$text['label-sip_profile_name']." | \n";
echo " | \n";
echo "\n";
-
if (is_array($registrations) && @sizeof($registrations) != 0) {
$x = 0;
foreach ($registrations as $row) {
@@ -226,7 +225,7 @@
echo " \n";
echo " ".$user." | \n";
echo " ".escape($row['agent'])." | \n";
- echo " ".escape(explode('"',$row['contact'])[1])." | \n";
+ echo " ".escape(explode('"',$row['contact'])[1])." | \n";
echo " ".escape($row['lan-ip'])." | \n";
echo " ".escape($row['network-ip'])." | \n";
echo " ".escape($row['network-port'])." | \n";