Update main.php

This commit is contained in:
Matthew Barbour 2019-09-09 08:13:25 -05:00 committed by GitHub
parent 2fc0273d78
commit 651b1632b1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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