mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-29 06:38:52 +00:00
Merge branch '3.2.x'
* 3.2.x: [ticket/15011] Fix 3.2.x merge [ticket/15011] Error not checked on metadata load failure
This commit is contained in:
commit
567034e306
1 changed files with 4 additions and 1 deletions
|
@ -214,7 +214,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('META_FIELD_NOT_SET', array($name));
|
||||||
|
}
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case 'display':
|
case 'display':
|
||||||
|
|
Loading…
Add table
Reference in a new issue