Project

General

Profile

« Previous | Next » 

Revision 1817

Added by Dietmar about 12 years ago

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

View differences:

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)){  }

Also available in: Unified diff