Project

General

Profile

« Previous | Next » 

Revision 2018

Added by darkviper almost 11 years ago

! little correction in admin/settings/save.php from line 391

View differences:

branches/2.8.x/CHANGELOG
11 11
! = Update/Change
12 12
===============================================================================
13 13

  
14
05 Nov-2013 Build 2018 Manuela v.d.Decken(DarkViper)
15
! little correction in admin/settings/save.php from line 391
14 16
05 Nov-2013 Build 2017 Manuela v.d.Decken(DarkViper)
15 17
! comment added in table `field users`.`group_id`
16 18
05 Nov-2013 Build 2016 Manuela v.d.Decken(DarkViper)
branches/2.8.x/wb/admin/interface/version.php
51 51

  
52 52
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled)
53 53
if(!defined('VERSION')) define('VERSION', '2.8.3');
54
if(!defined('REVISION')) define('REVISION', '2017');
54
if(!defined('REVISION')) define('REVISION', '2018');
55 55
if(!defined('SP')) define('SP', '');
branches/2.8.x/wb/admin/settings/save.php
390 390

  
391 391
    if ( ($passed == true) )
392 392
	{
393
		$value = $admin->add_slashes($value);
394 393
        $sql  = 'UPDATE `'.TABLE_PREFIX.'search` ';
395
        $sql .= 'SET `value` = \''.$value.'\' ';
394
        $sql .= 'SET `value` = \''.$database->escapeString($value).'\' ';
396 395
        $sql .= 'WHERE `name` = \''.$sSearchName.'\' ';
397 396
        $sql .= 'AND `extra` = \'\' ';
398
		if($database->query($sql)) {
399

  
400
		}
401
		$sql_info = mysql_info($database->db_handle);
397
		$database->query($sql);
402 398
    }
403 399
}
404 400

  

Also available in: Unified diff