diff options
Diffstat (limited to 'lib/templatelayout.php')
-rw-r--r-- | lib/templatelayout.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/templatelayout.php b/lib/templatelayout.php index c898628bcdf..966d02011f4 100644 --- a/lib/templatelayout.php +++ b/lib/templatelayout.php @@ -13,7 +13,7 @@ class OC_TemplateLayout extends OC_Template { if( $renderas == 'user' ) { parent::__construct( 'core', 'layout.user' ); $this->assign('searchurl',OC_Helper::linkTo( 'search', 'index.php' ), false); - if(array_search(OC_APP::getCurrentApp(),array('settings','admin','help'))!==false) { + if(in_array(OC_APP::getCurrentApp(),array('settings','admin','help'))!==false) { $this->assign('bodyid','body-settings', false); }else{ $this->assign('bodyid','body-user', false); |