Project

General

Profile

« Previous | Next » 

Revision 1817

Added by Dietmar almost 12 years ago

  1. Bugfix upgrde-script, syntaxerror in sql strict statement

View differences:

branches/2.8.x/CHANGELOG
13 13

  
14 14

  
15 15

  
16
11 Nov-2012 Build 1817 Dietmar Woellbrink (Luisehahne)
17
# Bugfix upgrde-script, syntaxerror in sql strict statement
16 18
11 Nov-2012 Build 1816 Dietmar Woellbrink (Luisehahne)
17 19
! fixed adminstrator rights to change groups
18 20
11 Nov-2012 Build 1815 Dietmar Woellbrink (Luisehahne)
branches/2.8.x/wb/upgrade-script.php
830 830
                $sMessage = "<span>Updating group_id ".$TEXT['DISPLAY_NAME']." " .$aUsers[$user_id]['display_name']."</span>";
831 831
                $sql  = 'UPDATE `'.TABLE_PREFIX.'users` ';
832 832
                $sql .= 'SET `group_id`  = '.$group_id.', ';
833
                $sql .=     '`groups_id` = '.$groups_id.' ';
833
                $sql .=     '`groups_id` = \''.$groups_id.'\' ';
834 834
                $sql .= 'WHERE `user_id` = '.intval($user_id);
835 835

  
836 836
                if($oRes = $database->query($sql)){  }
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', '1816');
54
if(!defined('REVISION')) define('REVISION', '1817');
55 55
if(!defined('SP')) define('SP', '');

Also available in: Unified diff