diff --git a/install.php b/install.php index 698cd64c4d0e03684730918109f62bbca94c7e22..a1d406209ae3dd423ec7cf4e94461d55cefd2d3c 100644 --- a/install.php +++ b/install.php @@ -213,7 +213,7 @@ function print_form($d){ <p><?php echo $lang['i_license']?></p> <?php array_unshift($license,array('name' => 'None', 'url'=>'')); - if(!isset($d['license'])) $d['license'] = 'cc-by-sa'; + if(empty($d['license'])) $d['license'] = 'cc-by-sa'; foreach($license as $key => $lic){ echo '<label for="lic_'.$key.'">'; echo '<input type="radio" name="d[license]" value="'.htmlspecialchars($key).'" id="lic_'.$key.'"'. @@ -254,7 +254,7 @@ function print_retry() { function check_data(&$d){ static $form_default = array( 'title' => '', - 'acl' => '0', + 'acl' => '1', 'superuser' => '', 'fullname' => '', 'email' => '',