Skip to content

Commit 970ca7e

Browse files
committed
protect status-quo
1 parent df06b0f commit 970ca7e

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/GraphJS/Controllers/AdministrationController.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,7 @@ protected function _getPendingComments(Kernel $kernel): array
6565
{
6666
$pending_comments = [];
6767
$res = $kernel->index()->query("MATCH (a:user)-[e:comment {Pending: true}]-(n:page) RETURN a.udid AS author_id, a.Email AS author_email, n.udid AS page_id, e.udid AS comment_id, n.Url AS page_url, n.Title AS page_title, e.Content AS comment");
68+
//$res = $this->kernel->index()->query("MATCH (a:user)-[e:comment {Pending: \"1\"}]->(n:page) RETURN a.udid AS author_id, a.Email AS author_email, n.udid AS page_id, e.udid AS comment_id, n.Url AS page_url, n.Title AS page_title, e.Content AS comment");
6869
$array = $res->results();
6970
foreach($array as $a) {
7071
$pending_comments[] = [

0 commit comments

Comments
 (0)