Changeset 794 for trunk/Modules/User


Ignore:
Timestamp:
Feb 12, 2014, 12:08:26 AM (11 years ago)
Author:
maron
Message:
  • Fixed: set user tag in user Profile.php
  • Added: translate game object with 2 lines (herbals)
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/User/Profile.php

    r787 r794  
    189189        if (array_key_exists('Tag'.$UserTag['ID'], $_POST)) {
    190190                    $Query = 'SELECT * FROM `UserTag` '.
    191           'WHERE `UserTagType` = '.$UserTag['ID'].' AND `User` = '.($this->System->User->Id * 1);
     191          'WHERE `UserTagType` = '.$UserTag['ID'].' AND `User` = '.($_GET['user']*1);
    192192                  $DbResult2 = $this->Database->query($Query);
    193193          if ($DbResult2->num_rows == 0) {
Note: See TracChangeset for help on using the changeset viewer.