mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-09 06:52:34 -04:00
address Scrutinizer reported issues
This commit is contained in:
parent
cbc0d99c59
commit
70842cf271
6 changed files with 45 additions and 47 deletions
|
@ -319,7 +319,8 @@ class Controller
|
|||
$paste->setData($data);
|
||||
$paste->store();
|
||||
} catch (Exception $e) {
|
||||
return $this->_return_message(1, $e->getMessage());
|
||||
$this->_return_message(1, $e->getMessage());
|
||||
return;
|
||||
}
|
||||
$this->_return_message(0, $paste->getId(), array('deletetoken' => $paste->getDeleteToken()));
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue