Changeset 294
- Timestamp:
- Jan 18, 2004, 10:57:12 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/release-1_3/include/config.inc.php
r238 r294 80 80 // array $conf. 81 81 foreach ( $infos as $info ) { 82 $conf[$info] = $row[$info]; 82 if ( isset( $row[$info] ) ) $conf[$info] = $row[$info]; 83 else $conf[$info] = ''; 83 84 // If the field is true or false, the variable is transformed into a boolean 84 85 // value. 85 if ( $ row[$info] == 'true' or $row[$info] == 'false' )86 if ( $conf[$info] == 'true' or $conf[$info] == 'false' ) 86 87 { 87 $conf[$info] = get_boolean( $ row[$info] );88 $conf[$info] = get_boolean( $conf[$info] ); 88 89 } 89 90 }
Note: See TracChangeset
for help on using the changeset viewer.