- Patch #778608 by Gábor Hojtsy: default theme region can be hidden.

merge-requests/26/head
Dries Buytaert 2010-05-17 21:08:37 +00:00
parent 80f911c969
commit 9bab7f62f0
1 changed files with 1 additions and 1 deletions

View File

@ -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] : '';
}