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:
parent
01a2b876d6
commit
53eb60195e
@ -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];
|
||||
}
|
||||
|
@ -79,6 +79,7 @@ function step1()
|
||||
{
|
||||
global $f;
|
||||
$e107 = e107::getInstance();
|
||||
$mes = e107::getMessage();
|
||||
//Check attachment dir permissions
|
||||
if(!isset($f->updateInfo['skip_attach']))
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user