diff options
author | Antonio Gallo <tonicucoz@gmail.com> | 2013-01-10 07:46:18 +0000 |
---|---|---|
committer | Antonio Gallo <tonicucoz@gmail.com> | 2013-01-10 07:46:18 +0000 |
commit | 79a99ab125e22b5918790711c470e2199a7bff6d (patch) | |
tree | 88f130eae580d01e3fccd84b8b9bd02d4067e570 /h-source/Application/Controllers/SearchController.php | |
parent | 9938c667ccfeec0ed0558765da5d9dc7e48e0def (diff) |
when a device has not been found by lspci search page, the insert link now sends to the page where to insert that device
Diffstat (limited to 'h-source/Application/Controllers/SearchController.php')
-rw-r--r-- | h-source/Application/Controllers/SearchController.php | 15 |
1 files changed, 0 insertions, 15 deletions
diff --git a/h-source/Application/Controllers/SearchController.php b/h-source/Application/Controllers/SearchController.php index ca798d6..1892f70 100644 --- a/h-source/Application/Controllers/SearchController.php +++ b/h-source/Application/Controllers/SearchController.php @@ -137,11 +137,6 @@ class SearchController extends BaseController if (next($lspciArray) !== false) { $item = trim(current($lspciArray)); -// if( !preg_match( '/^[a-zA-Z0-9\-\_\.\,\;\:\+\s\(\)\/\[\]\#]+$/i', $item ) ) -// { -// $flag = false; -// break; -// } if( preg_match( '/Class\:(.*)\[(.*)\]/i', $item, $matches ) ) { $temp['className'] = sanitizeAll($matches[1]); @@ -163,11 +158,6 @@ class SearchController extends BaseController if (next($lspciArray) !== false) { $item = trim(current($lspciArray)); -// if( !preg_match( '/^[a-zA-Z0-9\-\_\.\,\;\:\+\s\(\)\/\[\]\#]+$/i', $item ) ) -// { -// $flag = false; -// break; -// } if( preg_match( '/Vendor\:(.*)\[(.*)\]/i', $item, $matches ) ) { $temp['vendorName'] = sanitizeAll($matches[1]); @@ -189,11 +179,6 @@ class SearchController extends BaseController if (next($lspciArray) !== false) { $item = trim(current($lspciArray)); -// if( !preg_match( '/^[a-zA-Z0-9\-\_\.\,\;\:\+\s\(\)\/\[\]\#]+$/i', $item ) ) -// { -// $flag = false; -// break; -// } if( preg_match( '/Device\:(.*)\[(.*)\]/i', $item, $matches ) ) { $temp['deviceName'] = sanitizeAll($matches[1]); |