mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2026-04-21 22:17:44 -04:00
found and resolved issues in database layer, thanks to report in #42
This commit is contained in:
+1
-4
@@ -340,10 +340,7 @@ class zerobin
|
||||
if ($paste->exists())
|
||||
{
|
||||
// The paste itself is the first in the list of encrypted messages.
|
||||
$messages = array_merge(
|
||||
array($paste->get()),
|
||||
$paste->getComments()
|
||||
);
|
||||
$messages = array_merge(array($paste->get()), $paste->getComments());
|
||||
$this->_data = json_encode($messages);
|
||||
}
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user