Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1138)
+++ branches/2.8.x/CHANGELOG	(revision 1139)
@@ -11,6 +11,8 @@
 ! = Update/Change
 
 ------------------------------------- 2.8.1 -------------------------------------
+25-Aug-2009 Dietrich Roland Pehlke
+#	Fixed bug in upgrate-script. Constant 'DEFAULT_THEME' doesn't exists (ticket #784).
 25-Aug-2009 Ruud Eisinga
 #	Fixed bug in droplets. Multiple droplets with the same parameter did not extract the new parameter.
 	(problem introduced by code optimisations for WB2.8) 
Index: branches/2.8.x/wb/upgrade-script.php
===================================================================
--- branches/2.8.x/wb/upgrade-script.php	(revision 1138)
+++ branches/2.8.x/wb/upgrade-script.php	(revision 1139)
@@ -117,7 +117,7 @@
 }
 
 echo '<h2>Step 2: Updating database entries</h2>';
-
+define ("DEFAULT_THEME", "wb_theme");
 require_once('config.php');
 require_once(WB_PATH.'/framework/functions.php');
 
