]> git.mxchange.org Git - friendica.git/blobdiff - mod/uimport.php
Update usages of User::updatePassword
[friendica.git] / mod / uimport.php
index 5df919d7d6d9f880ffd02a0db9a56fbb7913a893..dfeab8a2f6e4d45988b567ab86c8ea8056d3e9d3 100644 (file)
@@ -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']);
        }