aboutsummaryrefslogtreecommitdiff
path: root/h-source/Application/Models/FingerprintreadersModel.php
diff options
context:
space:
mode:
Diffstat (limited to 'h-source/Application/Models/FingerprintreadersModel.php')
-rw-r--r--h-source/Application/Models/FingerprintreadersModel.php9
1 files changed, 2 insertions, 7 deletions
diff --git a/h-source/Application/Models/FingerprintreadersModel.php b/h-source/Application/Models/FingerprintreadersModel.php
index ea249a9..8e3f8da 100644
--- a/h-source/Application/Models/FingerprintreadersModel.php
+++ b/h-source/Application/Models/FingerprintreadersModel.php
@@ -45,13 +45,8 @@ class FingerprintreadersModel extends GenericModel
$this->_popupFunctions = array(
'vendor' => 'betterVendor',
);
-
- $this->_popupWhere = array(
- 'vendor' => 'type="fingerprint-reader" and deleted="no"',
- 'comm_year' => 'type="fingerprint-reader" and deleted="no"',
- 'fingerprint_works' => 'type="fingerprint-reader" and deleted="no"',
- 'interface' => 'type="fingerprint-reader" and deleted="no"',
- );
+
+ $this->createPopupWhere('vendor,fingerprint_works,comm_year,interface');
$this->diffFields = array(
'vendor' => gtext("vendor"),