address Scrutinizer reported issues

This commit is contained in:
El RIDO
2025-07-19 21:01:38 +02:00
parent cbc0d99c59
commit 70842cf271
6 changed files with 45 additions and 47 deletions

View File

@@ -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()));
}