From 651b1632b13657f4276b6f9ebff3373e9191b839 Mon Sep 17 00:00:00 2001 From: Matthew Barbour Date: Mon, 9 Sep 2019 08:13:25 -0500 Subject: [PATCH] Update main.php --- ext/rating/main.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/rating/main.php b/ext/rating/main.php index fb36ab2a..7c11a2e2 100644 --- a/ext/rating/main.php +++ b/ext/rating/main.php @@ -234,7 +234,7 @@ class Ratings extends Extension } else { $sqes = $config->get_string("ext_rating_user_privs"); } - return $sqes; + return $sqes ?? ""; } public static function privs_to_sql(string $sqes): string