• Dries's avatar
    · b9633dcd
    Dries authored
    - Patch by Bart Jansen:
    
      <quote>
    
      This adds session support for anonymous users and fixes a bug/typo.
    
        1. changed rid for user #0 from 0 to 1 (rid 1 == anonymous user) to make
           inner join work.
    
        2. replaced "if ($user .." by "if ($user->uid .." because now $user is
           always set (my previous change probably caused this).
    
        3. db_next_id("user_uid") -> db_next_id("users_uid");
      </quote>
    
      I repeat:
    
      "This adds session support for anonymous users and fixes a bug/typo."
    b9633dcd
database.mysql 14.3 KB