Browse Source

[svn r17921] Minor improvement - define undefined variables

Yannick Warnier 16 years ago
parent
commit
6e971b6132
1 changed files with 2 additions and 1 deletions
  1. 2 1
      main/install/upgrade_lib.php

+ 2 - 1
main/install/upgrade_lib.php

@@ -96,7 +96,8 @@ function upgrade_16x_to_180($values)
 		COURSE SECTION
 		UPGRADES TO COURSE DATABASES
 	*/
-	$prefix = ''; 
+	$prefix = '';
+    global $singleDbForm, $_configuration;
 	if ($singleDbForm)
 	{
 		$prefix = $_configuration['table_prefix'];