mirror of
https://github.com/PrivateBin/PrivateBin.git
synced 2025-08-03 20:14:27 -04:00
working on JSON-LD validity, added CORS headers preparing external API
call support
This commit is contained in:
parent
22d0b1ec22
commit
14d08ec56d
10 changed files with 123 additions and 35 deletions
|
@ -38,8 +38,8 @@ class model_comment extends model_abstract
|
|||
$comments = $this->_store->readComments($this->getPaste()->getId());
|
||||
foreach ($comments as $comment) {
|
||||
if (
|
||||
$comment->meta->parentid == $this->getParentId() &&
|
||||
$comment->meta->commentid == $this->getId()
|
||||
$comment->parentid == $this->getParentId() &&
|
||||
$comment->id == $this->getId()
|
||||
) {
|
||||
$this->_data = $comment;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue