Fixes code formatting
authorMatthias Schmidt <gravatronics@live.com>
Sun, 13 Oct 2013 11:54:52 +0000 (13:54 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sun, 13 Oct 2013 11:54:52 +0000 (13:54 +0200)
wcfsetup/install/files/lib/acp/page/UserListPage.class.php
wcfsetup/install/files/lib/data/tag/Tag.class.php

index 8e2a6357788251a13b66e828050acdf6d58b6216..a16e100d1f0831630550318eadca5ddb1af1b2be 100755 (executable)
@@ -236,7 +236,7 @@ class UserListPage extends SortablePage {
                                FROM            wcf".WCF_N."_user user_table
                                LEFT JOIN       wcf".WCF_N."_user_option_value option_value
                                ON              (option_value.userID = user_table.userID)
-                               LEFT JOIN       wcf".WCF_N."_user_avatar user_avatar
+                               LEFT JOIN       wcf".WCF_N."_user_avatar user_avatar
                                ON              (user_avatar.avatarID = user_table.avatarID)
                                ".$conditions."
                                ORDER BY        ".(($this->sortField != 'email' && isset($this->options[$this->sortField])) ? 'option_value.userOption'.$this->options[$this->sortField]['optionID'] : 'user_table.'.$this->sortField)." ".$this->sortOrder;
index 6717dba0c2074e940d02f1246f079371d761f43f..c18d9a1457f281d809cead16bedc70ded81ed46a 100644 (file)
@@ -35,8 +35,8 @@ class Tag extends DatabaseObject implements IRouteController {
         */
        public static function getTag($name, $languageID = 0) {
                $sql = "SELECT  *
-                       FROM    wcf".WCF_N."_tag
-                       WHERE   languageID = ?
+                       FROM    wcf".WCF_N."_tag
+                       WHERE   languageID = ?
                                AND name = ?";
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute(array($languageID, $name));