From db2363969712b0acf86b4035aea7560ea251f50d Mon Sep 17 00:00:00 2001 From: Martin Zackrisson Date: Sat, 23 Dec 2017 10:38:28 +0100 Subject: [PATCH] Fixed missing change to comment --- public-api/vx/notification.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/public-api/vx/notification.php b/public-api/vx/notification.php index 28ddbb1e8..081444aaf 100644 --- a/public-api/vx/notification.php +++ b/public-api/vx/notification.php @@ -58,7 +58,7 @@ function SetSubscription($value, &$RESPONSE) { // Verify that this node makes sense to subscribe to (use the same rules as note posting) $node = node_GetById($node_id); - if ( !note_IsNotePublicByNode($node) ) { + if ( !comment_IsCommentPublicByNode($node) ) { json_EmitFatalError_Permission("You don't have permission to subscribe to this node.", $RESPONSE); }