Skip to content

Commit d2be2c6

Browse files
authored
Merge pull request #21 from iMattPro/updates
Fix bugs
2 parents be73a8f + cc9343f commit d2be2c6

5 files changed

Lines changed: 7 additions & 7 deletions

File tree

adm/style/consentmanager_acp.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,8 @@ <h3>{{ lang('WARNING') }}</h3>
4242
<dl>
4343
<dt><span>{{ lang('ACP_CONSENTMANAGER_REGISTRATIONS_EXPLAIN') }}</span></dt>
4444
<dd>
45-
{% if CONSENTMANAGER_SERVICES %}
46-
{% set services = S_CONSENTMANAGER_MEDIA ? CONSENTMANAGER_SERVICES|merge([{'category': 'media', 'label': 'iframe bbcodes', 'id': 'phpbb.consentmanager'}]) : CONSENTMANAGER_SERVICES %}
45+
{% set services = S_CONSENTMANAGER_MEDIA ? CONSENTMANAGER_SERVICES|merge([{'category': 'media', 'label': 'iframe bbcodes', 'id': 'phpbb.consentmanager'}]) : CONSENTMANAGER_SERVICES %}
46+
{% if services %}
4747
{% for category in [
4848
{ id: 'necessary', label: lang('CONSENTMANAGER_CATEGORY_NECESSARY') },
4949
{ id: 'analytics', label: lang('CONSENTMANAGER_CATEGORY_ANALYTICS') },

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
"extra": {
2424
"display-name": "Consent Manager",
2525
"soft-require": {
26-
"phpbb/phpbb": ">=3.3.0"
26+
"phpbb/phpbb": ">=3.3.5"
2727
}
2828
}
2929
}

ext.php

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@ public function is_enableable()
3333
}
3434

3535
/**
36-
* Require phpBB 3.3.0
36+
* Require phpBB 3.3.5
3737
*
3838
* @return bool
3939
*/
4040
protected function check_phpbb_version()
4141
{
42-
return phpbb_version_compare(PHPBB_VERSION, '3.3.0', '>=');
42+
return phpbb_version_compare(PHPBB_VERSION, '3.3.5', '>=');
4343
}
4444

4545
/**

language/en/install.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,5 +19,5 @@
1919
}
2020

2121
$lang = array_merge($lang, [
22-
'CONSENTMANAGER_NOT_ENABLEABLE' => 'Consent Manager could not be enabled. The minimum requirements of phpBB 3.3.0 and/or PHP 7.2 were not satisfied.',
22+
'CONSENTMANAGER_NOT_ENABLEABLE' => 'Consent Manager could not be enabled. The minimum requirements of phpBB 3.3.5 and/or PHP 7.2 were not satisfied.',
2323
]);

migrations/m1_initial.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ public function effectively_installed()
1919

2020
public static function depends_on()
2121
{
22-
return ['\phpbb\db\migration\data\v33x\v3312rc1'];
22+
return ['\phpbb\db\migration\data\v33x\v335'];
2323
}
2424

2525
public function update_schema()

0 commit comments

Comments
 (0)