diff --git a/Layout/default/Voicenumberblock/Index.php b/Layout/default/Voicenumberblock/Index.php
index 53c6bc609..9f9f8da97 100644
--- a/Layout/default/Voicenumberblock/Index.php
+++ b/Layout/default/Voicenumberblock/Index.php
@@ -31,12 +31,12 @@
-
+
-
+
diff --git a/application/Voicenumberblock/VoicenumberblockController.php b/application/Voicenumberblock/VoicenumberblockController.php
index f092578c5..0359903f7 100644
--- a/application/Voicenumberblock/VoicenumberblockController.php
+++ b/application/Voicenumberblock/VoicenumberblockController.php
@@ -41,7 +41,6 @@ class VoicenumberblockController extends mfBaseController {
$pagination['maxItems'] = VoicenumberblockModel::count($filter);
$blocks = VoicenumberblockModel::search($filter, $pagination);
-
$this->layout()->set("blocks", $blocks);
$this->layout()->set("pagination", $pagination);
diff --git a/application/Voicenumberblock/VoicenumberblockModel.php b/application/Voicenumberblock/VoicenumberblockModel.php
index 511ba325f..05574b1f0 100644
--- a/application/Voicenumberblock/VoicenumberblockModel.php
+++ b/application/Voicenumberblock/VoicenumberblockModel.php
@@ -94,8 +94,6 @@ class VoicenumberblockModel {
WHERE $where
ORDER BY countrycode, areacode, first, last";
- $res = $db->query($sql);
-
if(is_array($limit) && count($limit)) {
if(is_numeric($limit['start']) && is_numeric($limit['count'])) {
$sql .= " LIMIT ".$limit['start'].", ".$limit['count'];
@@ -104,7 +102,9 @@ class VoicenumberblockModel {
}
}
- mfLoghandler::singleton()->debug($sql);
+ $res = $db->query($sql);
+
+ //mfLoghandler::singleton()->debug($sql);
if($db->num_rows($res)) {
while($data = $db->fetch_object($res)) {