aboutsummaryrefslogtreecommitdiffstats
path: root/admin/plugins.php
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-10-31 06:06:42 +0000
committerrvelices <rv-github@modusoptimus.com>2006-10-31 06:06:42 +0000
commit5aeff9b233863456a04b0616fd099bc497283ce6 (patch)
tree86be59508ffd7cab63b5cf8554d23ee7022890b6 /admin/plugins.php
parenta26ec603b91981812e6402bae60377168de2364c (diff)
plugins compatible with php4
git-svn-id: http://piwigo.org/svn/trunk@1588 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin/plugins.php')
-rw-r--r--admin/plugins.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/admin/plugins.php b/admin/plugins.php
index 0dff89417..27bc5600d 100644
--- a/admin/plugins.php
+++ b/admin/plugins.php
@@ -154,9 +154,9 @@ DELETE FROM '.PLUGINS_TABLE.' WHERE id="'.$plugin_id.'"';
$fs_plugins = get_fs_plugins();
$db_plugins = get_db_plugins();
$db_plugins_by_id=array();
-foreach ($db_plugins as &$db_plugin)
+foreach ($db_plugins as $db_plugin)
{
- $db_plugins_by_id[$db_plugin['id']] = &$db_plugin;
+ $db_plugins_by_id[$db_plugin['id']] = $db_plugin;
}