diff options
author | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-13 22:15:02 +0000 |
---|---|---|
committer | cash <cash@36083f99-b078-4883-b0ff-0f9b5a30f544> | 2011-03-13 22:15:02 +0000 |
commit | eac455ee0ef9ef1a8b23f066624a9ac78ed996bf (patch) | |
tree | fe5fff47d4923b54fa6059e4c63d53dcfd598782 /engine/lib/views.php | |
parent | 24fa2b9166f50aa7e0dbb49fb58fb379d3445d96 (diff) | |
download | elgg-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
Diffstat (limited to 'engine/lib/views.php')
-rw-r--r-- | engine/lib/views.php | 2 |
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; |