05-13-2010, 01:15 PM
My line numbers are a little different because of some other changes I made, but in summary there are 3 changes:
1) Remove the following line near 49:
2) Near line 79 change (add a zero in between the quotes):
Change To:
3) Near line 135 change (replace 'no' with '0' )
Change To:
Are there other spots that you were thinking needed to be changed?
1) Remove the following line near 49:
Code:
$_REQUEST['admin']='no';
2) Near line 79 change (add a zero in between the quotes):
Code:
if (!isset($_POST['admin']))
{
$_POST['admin']='';
}
Change To:
Code:
if (!isset($_POST['admin']))
{
$_POST['admin']='0';
}
3) Near line 135 change (replace 'no' with '0' )
Code:
if(!isset($_POST['admin']) || $_POST['admin'] == '')
{
$_POST['admin'] = 'no';
}
Change To:
Code:
if(!isset($_POST['admin']) || $_POST['admin'] == '')
{
$_POST['admin'] = '0';
}
Are there other spots that you were thinking needed to be changed?