X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fuimport.php;h=dfeab8a2f6e4d45988b567ab86c8ea8056d3e9d3;hb=61664ee6595ad0a9158b2c3171dbc522066e2dec;hp=5df919d7d6d9f880ffd02a0db9a56fbb7913a893;hpb=35abc4bb64bbb461e6448beed10484c028b74340;p=friendica.git diff --git a/mod/uimport.php b/mod/uimport.php index 5df919d7d6..dfeab8a2f6 100644 --- a/mod/uimport.php +++ b/mod/uimport.php @@ -42,10 +42,10 @@ function uimport_content(App $a) } - if (x($_SESSION, 'theme')) { + if (!empty($_SESSION['theme'])) { unset($_SESSION['theme']); } - if (x($_SESSION, 'mobile-theme')) { + if (!empty($_SESSION['mobile-theme'])) { unset($_SESSION['mobile-theme']); }