Fix #2164 untranslated error message "categoryneeded"

This commit is contained in:
Kijin Sung 2023-08-12 22:09:08 +09:00
parent d1012c7c42
commit fde3609f70

View file

@ -84,7 +84,7 @@ class BoardController extends Board
{
if (!$this->grant->manager)
{
throw new Rhymix\Framework\Exception('categoryneeded');
return new BaseObject(-1, sprintf(lang('common.filter.isnull'), lang('common.category')));
}
}
}