mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 13:17:24 +02:00
Forum update fix
This commit is contained in:
@@ -1092,7 +1092,7 @@ class e_navigation
|
|||||||
$rid = str_replace(array(' ', '_'), '-', $act).($id ? "-{$id}" : '');
|
$rid = str_replace(array(' ', '_'), '-', $act).($id ? "-{$id}" : '');
|
||||||
|
|
||||||
//XXX && !is_numeric($act) ???
|
//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];
|
$temp = $tmpl['button_active'.$kpost];
|
||||||
}
|
}
|
||||||
|
@@ -79,6 +79,7 @@ function step1()
|
|||||||
{
|
{
|
||||||
global $f;
|
global $f;
|
||||||
$e107 = e107::getInstance();
|
$e107 = e107::getInstance();
|
||||||
|
$mes = e107::getMessage();
|
||||||
//Check attachment dir permissions
|
//Check attachment dir permissions
|
||||||
if(!isset($f->updateInfo['skip_attach']))
|
if(!isset($f->updateInfo['skip_attach']))
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user