mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-10-21 17:47:30 -04:00
Apply StyleCi recommendation
This commit is contained in:
parent
c2a46b7af7
commit
34c64acb75
3 changed files with 4 additions and 4 deletions
|
@ -85,9 +85,9 @@ class Request
|
|||
|
||||
foreach ($_GET as $key => $value) {
|
||||
// only return if value is empty and key matches RegEx
|
||||
if (($value === "") and preg_match($pasteIdRegEx, $key, $match)) {
|
||||
if (($value === '') and preg_match($pasteIdRegEx, $key, $match)) {
|
||||
return $match[0];
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
return 'invalid id';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue