diff options
author | Tobias Hößl <tobias@hoessl.eu> | 2012-02-28 13:42:12 +0000 |
---|---|---|
committer | Tobias Hößl <tobias@hoessl.eu> | 2012-02-28 13:42:12 +0000 |
commit | 36a1a43f06dc2a0d55463c83154cce55fa3948ad (patch) | |
tree | d6ab66790474aaead1663762449db08faa064b07 | |
parent | f48556cbc08c0600e256f5964a553c666ee66372 (diff) | |
download | volse-hubzilla-36a1a43f06dc2a0d55463c83154cce55fa3948ad.tar.gz volse-hubzilla-36a1a43f06dc2a0d55463c83154cce55fa3948ad.tar.bz2 volse-hubzilla-36a1a43f06dc2a0d55463c83154cce55fa3948ad.zip |
Avoid notices
-rwxr-xr-x | boot.php | 2 | ||||
-rwxr-xr-x | mod/dfrn_request.php | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -1209,7 +1209,7 @@ function current_theme(){ $a = get_app(); $system_theme = ((isset($a->config['system']['theme'])) ? $a->config['system']['theme'] : ''); - $theme_name = ((is_array($_SESSION) && x($_SESSION,'theme')) ? $_SESSION['theme'] : $system_theme); + $theme_name = ((isset($_SESSION) && x($_SESSION,'theme')) ? $_SESSION['theme'] : $system_theme); if($theme_name && file_exists('view/theme/' . $theme_name . '/style.css')) return($theme_name); diff --git a/mod/dfrn_request.php b/mod/dfrn_request.php index bc159137d..452fec166 100755 --- a/mod/dfrn_request.php +++ b/mod/dfrn_request.php @@ -43,7 +43,7 @@ function dfrn_request_post(&$a) { return; - if($_POST['cancel']) { + if(x($_POST, 'cancel')) { goaway(z_root()); } |