From 3571742512cb191b4a92931bee9cee1699e75a55 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov <fox@madoka.volgo-balt.ru> Date: Sat, 20 Nov 2010 01:55:40 +0300 Subject: [PATCH] pref-prefs: reposition profile warning --- modules/pref-prefs.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/modules/pref-prefs.php b/modules/pref-prefs.php index bd27d0d44..e0d4c232f 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 "<div dojoType=\"dijit.layout.AccordionPane\" selected=\"true\" title=\"".__('Preferences')."\">"; + 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"] . "'";