mirror of
https://github.com/phpbb/phpbb.git
synced 2025-03-19 07:00:14 +01:00
[ticket/15011] Error not checked on metadata load failure
PHPBB3-15011
This commit is contained in:
parent
3322117c38
commit
b9189ec325
@ -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':
|
||||
|
Loading…
x
Reference in New Issue
Block a user