[Scummvm-git-logs] scummvm-web master -> 9950eaa063bed397df9e3ce7a4bf928de1fa95b0

Thunderforge noreply at scummvm.org
Thu Apr 7 23:52:44 UTC 2022


This automated email contains information about 1 new commit which have been
pushed to the 'scummvm-web' repo located at https://github.com/scummvm/scummvm-web .

Summary:
9950eaa063 WEB: Fixing typo in field name autoId -> auto_id


Commit: 9950eaa063bed397df9e3ce7a4bf928de1fa95b0
    https://github.com/scummvm/scummvm-web/commit/9950eaa063bed397df9e3ce7a4bf928de1fa95b0
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2022-04-07T18:52:39-05:00

Commit Message:
WEB: Fixing typo in field name autoId -> auto_id

Changed paths:
    include/Objects/File.php


diff --git a/include/Objects/File.php b/include/Objects/File.php
index b6acb5b7..ca0c2be6 100644
--- a/include/Objects/File.php
+++ b/include/Objects/File.php
@@ -17,7 +17,7 @@ class File extends BasicObject
     public function __construct($data, $baseUrl = null)
     {
         parent::__construct($data);
-        $this->autoId = $data['autoId'] ?? null;
+        $this->autoId = $data['auto_id'] ?? null;
         $this->category = $data['category'];
         $this->category_icon = $data['category_icon'];
         $this->notes = isset($data['notes']) ? $data['notes'] : '';




More information about the Scummvm-git-logs mailing list