1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-31 22:10:45 +02: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:
Tristan Darricau
2017-01-15 12:01:26 +01:00

View File

@@ -214,7 +214,10 @@ class metadata_manager
case 'all':
$this->validate('display');
$this->validate_enable();
if (!$this->validate_enable())
{
throw new \phpbb\extension\exception('META_FIELD_NOT_SET', array($name));
}
break;
case 'display':