fix(database): filter status

This commit is contained in:
Torsten Dittmann committed 2021-02-01 10:33:50 +01:00
1 parent a95c763e7e
commit c18c3dc6f1
1 file changed
+4
+4
View File
@@ -553,6 +553,10 @@ class Database
*/
static protected function encodeAttribute(string $name, $value)
{
if (!self::$statusFilters) {
return $value;
}
if (!isset(self::$filters[$name])) {
return $value;
throw new Exception('Filter not found');