1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-03-24 09:30:34 +01: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
commit c3b7332ea8
No known key found for this signature in database
GPG Key ID: 817043C2E29DB881

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