another silly mistake
This commit is contained in:
parent
9332312ce9
commit
e2c295c01f
2 changed files with 5 additions and 5 deletions
|
@ -69,9 +69,9 @@ function nav(&$a) {
|
||||||
* "Home" should also take you home from an authenticated remote profile connection
|
* "Home" should also take you home from an authenticated remote profile connection
|
||||||
*/
|
*/
|
||||||
|
|
||||||
$homelink = ((x($_SESSION,'visitor_home')) ? $_SESSION['visitor_home'] : '');
|
$homelink = get_my_url();
|
||||||
if(get_my_url())
|
if(! $homelink)
|
||||||
$homelink = get_my_url();
|
$homelink = ((x($_SESSION,'visitor_home')) ? $_SESSION['visitor_home'] : '');
|
||||||
|
|
||||||
if(($a->module != 'home') && (! (local_user())))
|
if(($a->module != 'home') && (! (local_user())))
|
||||||
$nav['home'] = array($homelink, t('Home'), "", t('Home Page'));
|
$nav['home'] = array($homelink, t('Home'), "", t('Home Page'));
|
||||||
|
|
|
@ -93,8 +93,8 @@ if((x($_SESSION,'language')) && ($_SESSION['language'] !== $lang)) {
|
||||||
load_translation_table($lang);
|
load_translation_table($lang);
|
||||||
}
|
}
|
||||||
|
|
||||||
if(x($_GET,'zurl')) {
|
if(x($_GET,'zrl')) {
|
||||||
$_SESSION['my_url'] = $_GET['zurl'];
|
$_SESSION['my_url'] = $_GET['zrl'];
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in a new issue