mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-30 13:30:25 +02:00
[ticket/15011] Error not checked on metadata load failure
PHPBB3-15011
This commit is contained in:
@@ -229,7 +229,10 @@ class metadata_manager
|
||||
case 'all':
|
||||
$this->validate('display');
|
||||
|
||||
$this->validate_enable();
|
||||
if (!$this->validate_enable())
|
||||
{
|
||||
throw new \phpbb\extension\exception($this->user->lang('META_FIELD_NOT_SET', $name));
|
||||
}
|
||||
break;
|
||||
|
||||
case 'display':
|
||||
|
Reference in New Issue
Block a user