1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02:00

Merge pull request #4646 from javiexin/ticket/15011

[ticket/15011] Error not checked on metadata load failure

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

View File

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