Possible undefined variable.
This commit is contained in:
@@ -10,6 +10,7 @@ $Source$
|
|||||||
* config.inc.php, libraries/common.lib.php,
|
* config.inc.php, libraries/common.lib.php,
|
||||||
libraries/config_import.lib.php: Support for SHA1 function (RFE
|
libraries/config_import.lib.php: Support for SHA1 function (RFE
|
||||||
#971703).
|
#971703).
|
||||||
|
* main.php: Possible undefined variable.
|
||||||
|
|
||||||
2004-06-09 Alexander M. Turek <me@derrabus.de>
|
2004-06-09 Alexander M. Turek <me@derrabus.de>
|
||||||
* libraries/config_import.lib.php: The default settings should be merged.
|
* libraries/config_import.lib.php: The default settings should be merged.
|
||||||
|
2
main.php
2
main.php
@@ -650,7 +650,7 @@ if (count($available_themes_choices)>1) {
|
|||||||
<?php
|
<?php
|
||||||
for($i=0;$i<count($available_themes_choices);$i++){
|
for($i=0;$i<count($available_themes_choices);$i++){
|
||||||
echo '<option value="' . $available_themes_choices[$i] . '"';
|
echo '<option value="' . $available_themes_choices[$i] . '"';
|
||||||
if ($available_themes_choices[$i] == $theme) {
|
if (isset($theme) && $available_themes_choices[$i] == $theme) {
|
||||||
echo ' selected="selected"';
|
echo ' selected="selected"';
|
||||||
$theme_selected = TRUE;
|
$theme_selected = TRUE;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user