1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-06-23 11:35:24 +02:00

Merge branch '3.1.x' into 3.2.x

* 3.1.x:
  [ticket/15011] Error not checked on metadata load failure
This commit is contained in:
Tristan Darricau
2017-01-15 11:58:04 +01:00

View File

@ -214,7 +214,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':