exit() in yasr_get_overall_rating causes broke page
-
Hi,
I fund that if I try to access a category with no posts then this code in the yasr_get_overall_rating function (yasr-db-functions.php:150) is executed:
if (!$post_id) { exit(); }
Wouldn’t it be better to return null instead of breaking the execution?
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘exit() in yasr_get_overall_rating causes broke page’ is closed to new replies.