plugins compatible with php4

git-svn-id: http://piwigo.org/svn/trunk@1588 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices 2006-10-31 06:06:42 +00:00
parent a26ec603b9
commit 5aeff9b233

View file

@ -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;
}