Skip to content

Commit b5a523a

Browse files
authored
Merge pull request #453 from phpList/release-3.3.7
Release 3.3.7
2 parents e709554 + 8bed962 commit b5a523a

File tree

3 files changed

+10
-9
lines changed

3 files changed

+10
-9
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# phpList 3
22

33
[![Build Status](https://travis-ci.org/phpList/phplist3.svg?branch=master)](https://travis-ci.org/phpList/phplist3)
4-
[![Stable release](https://img.shields.io/badge/stable-3.3.6-blue.svg)](https://sourceforge.net/projects/phplist/files/phplist/)
4+
[![Stable release](https://img.shields.io/badge/stable-3.3.7-blue.svg)](https://sourceforge.net/projects/phplist/files/phplist/)
55
[![License](https://poser.pugx.org/phplist/phplist4-core/license.svg)](https://www.gnu.org/licenses/agpl-3.0.en.html)
66

77
Fully functional Open Source email marketing manager for creating, sending, integrating, and analysing email campaigns and newsletters: https://www.phplist.org

VERSION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# file that keeps track of the latest tag in cvs and the corresponding version
22
# this automates publishing a new version, when it's tagged
33
# if you don't understand this, don't worry. You don't need this file
4-
VERSION=3.3.6
5-
DEVVERSION=3.3.7
4+
VERSION=3.3.7
5+
DEVVERSION=3.3.8
66

public_html/lists/admin/pluginlib.php

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -86,11 +86,6 @@
8686
$plugin_initialised = getConfig(md5('plugin-'.$className.'-initialised'));
8787

8888
if (!empty($plugin_initialised)) {
89-
if (!pluginCanEnable($className)) {
90-
// an already enabled plugin now does not meet its dependencies, do not enable it
91-
$pluginInstance->enabled = false;
92-
continue;
93-
}
9489
$GLOBALS['plugins'][$className] = $pluginInstance;
9590
$pluginInstance->enabled = true;
9691
} elseif (in_array($className, $auto_enable_plugins)) {
@@ -144,7 +139,13 @@ function($a, $b) {
144139
}
145140
);
146141

147-
foreach ($plugins as $pluginInstance) {
142+
foreach ($plugins as $className => $pluginInstance) {
143+
if (!pluginCanEnable($className)) {
144+
// an already enabled plugin now does not meet its dependencies, do not enable it
145+
$pluginInstance->enabled = false;
146+
unset($plugins[$className]);
147+
continue;
148+
}
148149
$pluginInstance->activate();
149150
}
150151

0 commit comments

Comments
 (0)