diff options
Diffstat (limited to 'lib')
-rw-r--r-- | lib/rating.lib.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/lib/rating.lib.php b/lib/rating.lib.php index 8dee7c8e..118efc4d 100644 --- a/lib/rating.lib.php +++ b/lib/rating.lib.php @@ -31,6 +31,15 @@ function show_rating($object_id,$type) { } // show_rating +// andy90s rating patch added +function show_rating_static($object_id,$type) { + + $rating = new Rating($object_id,$type); + + include(conf('prefix') . '/templates/show_object_rating_static.inc.php'); + +} // show_rating_static + /** * get_rating_name * This takes a score and returns the name that we should use |