1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 04:38:27 +01:00

Forum update fix

This commit is contained in:
Cameron 2013-03-10 20:59:41 -07:00
parent 01a2b876d6
commit 53eb60195e
2 changed files with 2 additions and 1 deletions

View File

@ -1092,7 +1092,7 @@ class e_navigation
$rid = str_replace(array(' ', '_'), '-', $act).($id ? "-{$id}" : '');
//XXX && !is_numeric($act) ???
if (($active_page == $act)|| (str_replace("?", "", e_PAGE.e_QUERY) == str_replace("?", "", $act)))
if (($active_page == (string) $act)|| (str_replace("?", "", e_PAGE.e_QUERY) == str_replace("?", "", $act)))
{
$temp = $tmpl['button_active'.$kpost];
}

View File

@ -79,6 +79,7 @@ function step1()
{
global $f;
$e107 = e107::getInstance();
$mes = e107::getMessage();
//Check attachment dir permissions
if(!isset($f->updateInfo['skip_attach']))
{