1
0
Fork 0
mirror of synced 2024-06-01 18:39:57 +12:00

fix(database): filter status

This commit is contained in:
Torsten Dittmann 2021-02-01 10:33:50 +01:00
parent a95c763e7e
commit c18c3dc6f1

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');