diff options
Diffstat (limited to 'h-source/Application/Models/WifiModel.php')
-rw-r--r-- | h-source/Application/Models/WifiModel.php | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/h-source/Application/Models/WifiModel.php b/h-source/Application/Models/WifiModel.php index 3d15aa2..12dedc2 100644 --- a/h-source/Application/Models/WifiModel.php +++ b/h-source/Application/Models/WifiModel.php @@ -45,14 +45,9 @@ class WifiModel extends GenericModel $this->_popupFunctions = array( 'interface' => 'betterVendor', ); - - $this->_popupWhere = array( - 'vendor' => 'type="wifi" and deleted="no"', - 'comm_year' => 'type="wifi" and deleted="no"', - 'wifi_works' => 'type="wifi" and deleted="no"', - 'interface' => 'type="wifi" and deleted="no"', - ); - + + $this->createPopupWhere('vendor,wifi_works,comm_year,interface'); + $this->diffFields = array( 'vendor' => gtext("vendor"), 'model' => gtext('model name'), |