Minor correction
This commit is contained in:
parent
8b6c1562b7
commit
6e1a78cea3
1 changed files with 1 additions and 1 deletions
|
@ -121,7 +121,7 @@
|
|||
return false;
|
||||
}
|
||||
|
||||
if((bool)preg_match(RegexPatterns::PackageNameFormat, $input) == false)
|
||||
if(!preg_match(RegexPatterns::PackageNameFormat, $input))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue