From 5aeff9b233863456a04b0616fd099bc497283ce6 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 31 Oct 2006 06:06:42 +0000 Subject: plugins compatible with php4 git-svn-id: http://piwigo.org/svn/trunk@1588 68402e56-0260-453c-a942-63ccdbb3a9ee --- admin/plugins.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'admin') 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; } -- cgit v1.2.3