| @@ -16,9 +16,9 @@ | ||
| 16 | 16 | * |
| 17 | 17 | */ |
| 18 | 18 | public function getListTypeName() { |
| 19 | 19 | // if the search term is for CJT extensions return 'extensions' otherwise return 'plugins' |
| 20 | - $type = ($_REQUEST['s'] == CJTExtensionsAccessPoint::PLUGINS_PAGE_SEARCH_TERM) ? 'extensions' : 'plugins'; | |
| 20 | + $type = (isset($_REQUEST['s']) == CJTExtensionsAccessPoint::PLUGINS_PAGE_SEARCH_TERM) ? 'extensions' : 'plugins'; | |
| 21 | 21 | return $type; |
| 22 | 22 | } |
| 23 | 23 | |
| 24 | 24 | } // End class. |