mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-03 03:56:16 -04:00
apply StyleCI patch
This commit is contained in:
parent
632d70412a
commit
1e44902340
9 changed files with 51 additions and 54 deletions
|
@ -161,10 +161,10 @@ class Request
|
|||
public function getData()
|
||||
{
|
||||
$data = array(
|
||||
'adata' => json_decode($this->getParam('adata', '[]'), true)
|
||||
'adata' => json_decode($this->getParam('adata', '[]'), true),
|
||||
);
|
||||
$required_keys = array('v', 'ct');
|
||||
$meta = $this->getParam('meta');
|
||||
$meta = $this->getParam('meta');
|
||||
if (empty($meta)) {
|
||||
$required_keys[] = 'pasteid';
|
||||
$required_keys[] = 'parentid';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue