diff options
Diffstat (limited to 'modules')
-rw-r--r-- | modules/system/system.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/system/system.module b/modules/system/system.module index e0fdbf74a..b5dfc5498 100644 --- a/modules/system/system.module +++ b/modules/system/system.module @@ -3661,7 +3661,7 @@ function _system_date_format_types_build() { // Get custom formats added to the database by the end user. $result = db_query('SELECT dft.type, dft.title, dft.locked FROM {date_format_type} dft ORDER BY dft.title'); foreach ($result as $record) { - if (!in_array($record->type, $types)) { + if (!isset($types[$record->type])) { $type = array(); $type['is_new'] = FALSE; $type['module'] = ''; |