Project

General

Profile

« Previous | Next » 

Revision 1507

Added by Dietmar about 13 years ago

fixed field_remove

View differences:

branches/2.8.x/CHANGELOG
12 12

  
13 13
=============================== FEATURES FREEZE ================================
14 14
----------------------------------- Fixes 2.8.2 --------------------------------
15
06 Sep-2011 Build 1507 Dietmar Woellbrink (Luisehahne)
16
# fixed field_remove
15 17
26 Aug-2011 Build 1506 Werner v.d.Decken(DarkViper)
16 18
+ new class PasswordHash
17 19
+ new Password-/Hash-generator
branches/2.8.x/wb/admin/interface/version.php
52 52

  
53 53
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
54 54
if(!defined('VERSION')) define('VERSION', '2.8.2');
55
if(!defined('REVISION')) define('REVISION', '1506');
55
if(!defined('REVISION')) define('REVISION', '1507');
branches/2.8.x/wb/framework/class.database.php
230 230
	public function field_remove($table_name, $field_name)
231 231
	{
232 232
		$retval = false;
233
		if( $this->field_exists($field_name, $table_name) )
233
		if( $this->field_exists($table_name, $field_name) )
234 234
		{ // modify a existing field in a table
235 235
			$sql  = 'ALTER TABLE `'.$table_name.'` DROP `'.$field_name.'`';
236 236
			$retval = ( $this->query($sql) ? true : false );

Also available in: Unified diff