1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-17 12:01:05 +02:00

Upgrade Fixes and notice removals.

This commit is contained in:
Cameron
2012-12-07 15:16:42 -08:00
parent 1062988bba
commit df2a903e62
10 changed files with 194 additions and 156 deletions

View File

@@ -152,12 +152,12 @@ function show_updates($dbupdate, $what)
return $updates; // Number of updates to do
}
if(is_array($_POST['update_core']))
if(varset($_POST['update_core']) && is_array($_POST['update_core']))
{
$message = run_updates($dbupdate);
}
if(is_array($_POST['update'])) // Do plugin updates
if(varset($_POST['update']) && is_array($_POST['update'])) // Do plugin updates
{
$func = key($_POST['update']);
run_updates_plugin($func,FALSE);