From d45ab47d3b571f8ebca0e1c946482db76f554727 Mon Sep 17 00:00:00 2001 From: Marcin Kurczewski Date: Tue, 22 Oct 2013 00:18:41 +0200 Subject: [PATCH] Always test your goddamn code --- src/Controllers/CommentController.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Controllers/CommentController.php b/src/Controllers/CommentController.php index 69049a28..12e2c83f 100644 --- a/src/Controllers/CommentController.php +++ b/src/Controllers/CommentController.php @@ -12,7 +12,7 @@ class CommentController $this->context->stylesheets []= 'comment-list.css'; $this->context->stylesheets []= 'comment-small.css'; $this->context->subTitle = 'comments'; - if ($this->config->user->hasEnabledEndlessScrolling()) + if ($this->context->user->hasEnabledEndlessScrolling()) $this->context->scripts []= 'paginator-endless.js'; $page = intval($page);