mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
fixes only:
- some searches returned bad array for page['items'] (resulting in php warnings and sometimes mysql fatal error) still existing in branch 2.0 - mysql fatal error in admin maintenance - php warn in plugins_list.php - fix check on function param in admin/include/functions.php git-svn-id: http://piwigo.org/svn/trunk@5691 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
@@ -39,7 +39,7 @@ $plugins = new plugins();
|
||||
if (isset($_GET['action']) and isset($_GET['plugin']) and !is_adviser())
|
||||
{
|
||||
check_pwg_token();
|
||||
|
||||
|
||||
$page['errors'] = $plugins->perform_action($_GET['action'], $_GET['plugin']);
|
||||
|
||||
if (empty($page['errors']))
|
||||
@@ -69,7 +69,7 @@ foreach($plugins->fs_plugins as $plugin_id => $fs_plugin)
|
||||
'VERSION' => $fs_plugin['version'],
|
||||
'DESC' => $fs_plugin['description'],
|
||||
'AUTHOR' => $fs_plugin['author'],
|
||||
'AUTHOR_URL' => $fs_plugin['author uri'],
|
||||
'AUTHOR_URL' => @$fs_plugin['author uri'],
|
||||
'U_ACTION' => sprintf($action_url, $plugin_id)
|
||||
);
|
||||
|
||||
@@ -112,6 +112,6 @@ if (count($missing_plugin_ids) > 0)
|
||||
{
|
||||
$template->append('plugin_states', 'missing');
|
||||
}
|
||||
|
||||
|
||||
$template->assign_var_from_handle('ADMIN_CONTENT', 'plugins');
|
||||
?>
|
||||
Reference in New Issue
Block a user