From: Andrew Dolgov Date: Fri, 19 Nov 2010 22:55:40 +0000 (+0300) Subject: pref-prefs: reposition profile warning X-Git-Tag: 1.5.0~122 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=3571742512cb191b4a92931bee9cee1699e75a55;p=tt-rss.git pref-prefs: reposition profile warning --- diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index bd27d0d4..e0d4c232 100644 --- a/modules/pref-prefs.php +++ b/modules/pref-prefs.php @@ -158,10 +158,6 @@ } else { - if ($_SESSION["profile"]) { - print_notice("Some preferences are only available in default profile."); - } - if (!SINGLE_USER_MODE) { $result = db_query($link, "SELECT id FROM ttrss_users @@ -287,6 +283,10 @@ print "
"; + if ($_SESSION["profile"]) { + print_notice("Some preferences are only available in default profile."); + } + if ($_SESSION["profile"]) { initialize_user_prefs($link, $_SESSION["uid"], $_SESSION["profile"]); $profile_qpart = "profile = '" . $_SESSION["profile"] . "'";