aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorcash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-13 22:15:02 +0000
committercash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544>2011-03-13 22:15:02 +0000
commiteac455ee0ef9ef1a8b23f066624a9ac78ed996bf (patch)
treefe5fff47d4923b54fa6059e4c63d53dcfd598782
parent24fa2b9166f50aa7e0dbb49fb58fb379d3445d96 (diff)
downloadelgg-eac455ee0ef9ef1a8b23f066624a9ac78ed996bf.tar.gz
elgg-eac455ee0ef9ef1a8b23f066624a9ac78ed996bf.tar.bz2
Refs #3059 should only fallback to 1.7 pageshell when asking for default page shell - otherwise breaks admin area
git-svn-id: http://code.elgg.org/elgg/trunk@8697 36083f99-b078-4883-b0ff-0f9b5a30f544
-rw-r--r--engine/lib/views.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/engine/lib/views.php b/engine/lib/views.php
index ae089add6..460b2c8b5 100644
--- a/engine/lib/views.php
+++ b/engine/lib/views.php
@@ -602,7 +602,7 @@ function elgg_view_page($title, $body, $page_shell = 'default', $vars = array())
$vars['sysmessages'] = $messages;
// check for deprecated view
- if (elgg_view_exists('pageshells/pageshell')) {
+ if ($page_shell == 'default' && elgg_view_exists('pageshells/pageshell')) {
elgg_deprecated_notice("pageshells/pageshell is deprecated by page/$page_shell", 1.8);
global $CONFIG;