mirror of
https://github.com/Part-DB/Part-DB-server.git
synced 2025-07-07 17:04:30 +02:00
Removed unused variables.
This commit is contained in:
parent
3671c94844
commit
0fe83c7b3a
18 changed files with 14 additions and 29 deletions
|
@ -69,7 +69,7 @@ class ParameterExtractor
|
|||
$matches = [];
|
||||
\preg_match($regex, $input, $matches);
|
||||
if (! empty($matches)) {
|
||||
[$raw, $name, $value] = $matches;
|
||||
[, $name, $value] = $matches;
|
||||
$value = trim($value);
|
||||
|
||||
//Dont allow empty names or values (these are a sign of an invalid extracted string)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue