[Scummvm-git-logs] scummvm-web master -> a4f0e15a6f737ea4260624feef8ee1861ebfa596

Thunderforge noreply at scummvm.org
Mon Nov 22 02:00:58 UTC 2021


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:
a4f0e15a6f WEB: Fixing lint errors


Commit: a4f0e15a6f737ea4260624feef8ee1861ebfa596
    https://github.com/scummvm/scummvm-web/commit/a4f0e15a6f737ea4260624feef8ee1861ebfa596
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2021-11-21T20:00:54-06:00

Commit Message:
WEB: Fixing lint errors

Changed paths:
    include/Models/DownloadsModel.php


diff --git a/include/Models/DownloadsModel.php b/include/Models/DownloadsModel.php
index 736f17ed..6fb743f8 100644
--- a/include/Models/DownloadsModel.php
+++ b/include/Models/DownloadsModel.php
@@ -108,7 +108,7 @@ class DownloadsModel extends BasicModel
             ->findByUserAgent($os['name']);
 
         // If we found a user agent for this platform, then generate a download link
-        if (!empty($downloads) && ($downloads[0] !== null )) {
+        if (!empty($downloads) && ($downloads[0] !== null)) {
             $download = $downloads[0];
 
             $name = strip_tags($download->getName());




More information about the Scummvm-git-logs mailing list