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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user