Merge "Return null from EditPage::importContentFormData"
[lhc/web/wiklou.git] / includes / auth / CreatedAccountAuthenticationRequest.php
index 48a6e1d..a7d2484 100644 (file)
@@ -42,7 +42,7 @@ class CreatedAccountAuthenticationRequest extends AuthenticationRequest {
         * @param string $name Username
         */
        public function __construct( $id, $name ) {
-               $this->id = $id;
+               $this->id = (int)$id;
                $this->username = $name;
        }
 }