X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Fuimport.php;h=dfeab8a2f6e4d45988b567ab86c8ea8056d3e9d3;hb=5a3991d4f7bc929c1087d9275716fc1c8cc299a6;hp=5df919d7d6d9f880ffd02a0db9a56fbb7913a893;hpb=7d5494dd67f58e1fc63c6571946e26290092321c;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']); }