aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpatdenice <patdenice@piwigo.org>2011-10-25 15:36:15 +0000
committerpatdenice <patdenice@piwigo.org>2011-10-25 15:36:15 +0000
commitdc8633e4ce05443168e2d7e63e3c2385f2c33152 (patch)
tree337065a77ba806aa315930c876fdcf11e921d05b
parentedb2a987af123667e99d6769cc4a9361dc54227f (diff)
merge r12517 from trunk to branch 2.3
bug:2483 warning on plugin activation git-svn-id: http://piwigo.org/svn/branches/2.3@12518 68402e56-0260-453c-a942-63ccdbb3a9ee
-rw-r--r--admin/include/plugins.class.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/admin/include/plugins.class.php b/admin/include/plugins.class.php
index e5fce638f..852fc97dc 100644
--- a/admin/include/plugins.class.php
+++ b/admin/include/plugins.class.php
@@ -86,6 +86,7 @@ INSERT INTO ' . PLUGINS_TABLE . ' (id,version) VALUES (\''
if (!isset($crt_db_plugin))
{
$errors = $this->perform_action('install', $plugin_id);
+ list($crt_db_plugin) = get_db_plugins(null, $plugin_id);
load_conf_from_db();
}
elseif ($crt_db_plugin['state'] == 'active')