1
0
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:
javiexin 2017-01-14 18:08:23 +01:00
parent 3322117c38
commit b9189ec325

View File

@ -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':