diff options
Diffstat (limited to 'h-source/Application/Models/SoundcardsModel.php')
-rw-r--r-- | h-source/Application/Models/SoundcardsModel.php | 9 |
1 files changed, 2 insertions, 7 deletions
diff --git a/h-source/Application/Models/SoundcardsModel.php b/h-source/Application/Models/SoundcardsModel.php index 71c8125..cda9c99 100644 --- a/h-source/Application/Models/SoundcardsModel.php +++ b/h-source/Application/Models/SoundcardsModel.php @@ -45,13 +45,8 @@ class SoundcardsModel extends GenericModel $this->_popupFunctions = array( 'vendor' => 'betterVendor', ); - - $this->_popupWhere = array( - 'vendor' => 'type="soundcard" and deleted="no"', - 'comm_year' => 'type="soundcard" and deleted="no"', - 'sound_card_works' => 'type="soundcard" and deleted="no"', - 'interface' => 'type="soundcard" and deleted="no"', - ); + + $this->createPopupWhere('vendor,sound_card_works,comm_year,interface'); $this->diffFields = array( 'vendor' => gtext("vendor"), |