Преглед изворни кода

[svn r17921] Minor improvement - define undefined variables

Yannick Warnier пре 16 година
родитељ
комит
6e971b6132
1 измењених фајлова са 2 додато и 1 уклоњено
  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'];