Fixed user table alias
authorAlexander Ebert <ebert@woltlab.com>
Fri, 4 Nov 2011 13:43:25 +0000 (14:43 +0100)
committerAlexander Ebert <ebert@woltlab.com>
Fri, 4 Nov 2011 13:43:25 +0000 (14:43 +0100)
wcfsetup/install/files/lib/data/user/User.class.php

index 84f28d6ae737f533c7e763348a4279dff406139c..57637ab7c5d3b19d97a76aa786b803246add86de 100644 (file)
@@ -305,4 +305,11 @@ class User extends DatabaseObject {
        public function __toString() {
                return $this->username;
        }
+       
+       /**
+        * @see wcf\data\IStorableObject::getDatabaseTableAlias()
+        */
+       public static function getDatabaseTableAlias() {
+               return 'user_table';
+       }
 }