summaryrefslogtreecommitdiffstats
path: root/lib/rating.lib.php
diff options
context:
space:
mode:
Diffstat (limited to 'lib/rating.lib.php')
-rw-r--r--lib/rating.lib.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/rating.lib.php b/lib/rating.lib.php
index ee589618..8dee7c8e 100644
--- a/lib/rating.lib.php
+++ b/lib/rating.lib.php
@@ -27,7 +27,7 @@ function show_rating($object_id,$type) {
$rating = new Rating($object_id,$type);
- include(conf('prefix') . '/templates/show_object_rating.inc.php');
+ require Config::get('prefix') . '/templates/show_object_rating.inc.php';
} // show_rating