summaryrefslogtreecommitdiff
path: root/modules/system/system.module
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2010-05-17 21:08:37 +0000
committerDries Buytaert <dries@buytaert.net>2010-05-17 21:08:37 +0000
commit9bab7f62f09da29fdf655a1bf46c99729bab57cf (patch)
tree483e348f0ff2833fdc937e63f0b76b59a77df2bb /modules/system/system.module
parent80f911c9692933a7be5e8d80334271ab2e45f0c5 (diff)
downloadbrdo-9bab7f62f09da29fdf655a1bf46c99729bab57cf.tar.gz
brdo-9bab7f62f09da29fdf655a1bf46c99729bab57cf.tar.bz2
- Patch #778608 by Gábor Hojtsy: default theme region can be hidden.
Diffstat (limited to 'modules/system/system.module')
-rw-r--r--modules/system/system.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module
index bfed7102d..621c7e146 100644
--- a/modules/system/system.module
+++ b/modules/system/system.module
@@ -2557,7 +2557,7 @@ function system_system_info_alter(&$info, $file, $type) {
* A string that is the region name.
*/
function system_default_region($theme) {
- $regions = array_keys(system_region_list($theme));
+ $regions = array_keys(system_region_list($theme, REGIONS_VISIBLE));
return isset($regions[0]) ? $regions[0] : '';
}