mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-27 21:58:52 +00: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:
commit
c3b7332ea8
1 changed files with 4 additions and 1 deletions
|
@ -230,7 +230,10 @@ class metadata_manager
|
||||||
case 'all':
|
case 'all':
|
||||||
$this->validate('display');
|
$this->validate('display');
|
||||||
|
|
||||||
$this->validate_enable();
|
if (!$this->validate_enable())
|
||||||
|
{
|
||||||
|
throw new \phpbb\extension\exception($this->user->lang('META_FIELD_NOT_SET', $name));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'display':
|
case 'display':
|
||||||
|
|
Loading…
Add table
Reference in a new issue