Changeset 5861
- Timestamp:
- 07/01/08 21:28:39 (3 months ago)
- Files:
-
- modules/branches/2.5/daynight/install.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
modules/branches/2.5/daynight/install.php
r5860 r5861 32 32 $list = daynight_list(); 33 33 foreach ($list as $item) { 34 $id = $item['ext'] 35 $fc_description = $item['dest'] 34 $id = $item['ext']; 35 $fc_description = $item['dest']; 36 36 $fcc = new featurecode('daynight', 'toggle-mode-'.$id); 37 37 if ($fc_description) { … … 41 41 } 42 42 $fcc->setDefault('*28'.$id); 43 if ($code != '*28' ) {43 if ($code != '*28' && $code != '') { 44 44 $fcc->setCode($code.$id); 45 45 }
