mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/15011] Error not checked on metadata load failure
PHPBB3-15011
This commit is contained in:
@@ -229,7 +229,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':
|
||||||
|
Reference in New Issue
Block a user