Fix database table column name in virtual session query
authorMatthias Schmidt <gravatronics@live.com>
Sat, 24 May 2014 09:10:29 +0000 (11:10 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Sat, 24 May 2014 09:10:29 +0000 (11:10 +0200)
wcfsetup/install/files/lib/data/session/virtual/SessionVirtual.class.php

index a6226c9ea79ff11d27c39790c9a8811db0981149..80ed4f309ab4e15f3d591f91c02eaf2bd63ccd63 100644 (file)
@@ -42,7 +42,7 @@ class SessionVirtual extends DatabaseObject {
                        FROM    ".static::getDatabaseTableName()."
                        WHERE   sessionID = ?
                                AND ipAddress = ?
-                               AND userAGent = ?";
+                               AND userAgent = ?";
                $statement = WCF::getDB()->prepareStatement($sql);
                $statement->execute(array(
                        $sessionID,