diff options
author | rvelices <rv-github@modusoptimus.com> | 2006-10-31 06:06:42 +0000 |
---|---|---|
committer | rvelices <rv-github@modusoptimus.com> | 2006-10-31 06:06:42 +0000 |
commit | 5aeff9b233863456a04b0616fd099bc497283ce6 (patch) | |
tree | 86be59508ffd7cab63b5cf8554d23ee7022890b6 /admin | |
parent | a26ec603b91981812e6402bae60377168de2364c (diff) |
plugins compatible with php4
git-svn-id: http://piwigo.org/svn/trunk@1588 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r-- | admin/plugins.php | 4 |
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; } |