1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-16 19:44:09 +02:00

PHP warning fixes.

This commit is contained in:
Cameron
2020-12-31 08:01:34 -08:00
parent 5f1fc512fc
commit 798638a590
3 changed files with 7 additions and 2 deletions

View File

@@ -1148,7 +1148,7 @@ if(!deftrue('OLD_FORUMADMIN'))
public function init()
{
$id = intval($_GET['id']);
$id = (int) varset($_GET['id']);
if(!empty($id))
{

View File

@@ -40,7 +40,7 @@ $f = new forumUpgrade;
$sql = e107::getDb();
if($_GET['reset'])
if(!empty($_GET['reset']))
{
unset($_SESSION['forumUpgrade']);
unset($_SESSION['forumupdate']);