From cb0a1c793b736e52e4b8a32687b027e553826c93 Mon Sep 17 00:00:00 2001 From: Jeremy Dormitzer Date: Sun, 28 Oct 2018 13:23:36 -0400 Subject: [PATCH] Fix syntax errors --- includes/commentlinks.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/commentlinks.php b/includes/commentlinks.php index 2b6c9da..707b8f1 100644 --- a/includes/commentlinks.php +++ b/includes/commentlinks.php @@ -5,7 +5,7 @@ function get_object_id( $comment_id ) { global $wpdb; return $wpdb->get_var( $wpdb->prepare( "SELECT object_id FROM {$wpdb->prefix}pterotype_comments WHERE comment_id = %d", - $comment_id; + $comment_id ) ); } @@ -13,7 +13,7 @@ function get_comment_id( $object_id ) { global $wpdb; return $wpdb->get_var( $wpdb->prepare( "SELECT comment_id FROM {$wpdb->prefix}pterotype_comments WHERE object_id = %d", - $object_id; + $object_id ) ); }