Index: branches/2.8.x/CHANGELOG
===================================================================
--- branches/2.8.x/CHANGELOG	(revision 1506)
+++ branches/2.8.x/CHANGELOG	(revision 1507)
@@ -12,6 +12,8 @@
 
 =============================== FEATURES FREEZE ================================
 ----------------------------------- Fixes 2.8.2 --------------------------------
+06 Sep-2011 Build 1507 Dietmar Woellbrink (Luisehahne)
+# fixed field_remove
 26 Aug-2011 Build 1506 Werner v.d.Decken(DarkViper)
 + new class PasswordHash
 + new Password-/Hash-generator
Index: branches/2.8.x/wb/admin/interface/version.php
===================================================================
--- branches/2.8.x/wb/admin/interface/version.php	(revision 1506)
+++ branches/2.8.x/wb/admin/interface/version.php	(revision 1507)
@@ -52,4 +52,4 @@
 
 // check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
 if(!defined('VERSION')) define('VERSION', '2.8.2');
-if(!defined('REVISION')) define('REVISION', '1506');
+if(!defined('REVISION')) define('REVISION', '1507');
Index: branches/2.8.x/wb/framework/class.database.php
===================================================================
--- branches/2.8.x/wb/framework/class.database.php	(revision 1506)
+++ branches/2.8.x/wb/framework/class.database.php	(revision 1507)
@@ -230,7 +230,7 @@
 	public function field_remove($table_name, $field_name)
 	{
 		$retval = false;
-		if( $this->field_exists($field_name, $table_name) )
+		if( $this->field_exists($table_name, $field_name) )
 		{ // modify a existing field in a table
 			$sql  = 'ALTER TABLE `'.$table_name.'` DROP `'.$field_name.'`';
 			$retval = ( $this->query($sql) ? true : false );
