diff --git a/e107_core/shortcodes/batch/page_shortcodes.php b/e107_core/shortcodes/batch/page_shortcodes.php
index 0fbd9ca9f..f3545f090 100644
--- a/e107_core/shortcodes/batch/page_shortcodes.php
+++ b/e107_core/shortcodes/batch/page_shortcodes.php
@@ -163,6 +163,18 @@ class cpage_shortcodes extends e_shortcode
{
$com = $this->var['comments'];
$comflag = $this->var['page_comment_flag'];
+
+ if(e107::getPref('comments_disabled') == 0 && !$comflag)
+ {
+ if(BOOTSTRAP)
+ {
+ return e107::getMessage()->addInfo(LAN_PAGE_17)->render();
+ }
+ else
+ {
+ return "