[Scummvm-git-logs] scummvm-web master -> 0aff36bb463a5273a7d9d77d0bc1623efc7a31b2
Thunderforge
noreply at scummvm.org
Thu Nov 18 22:56:45 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:
0aff36bb46 WEB: Replacing {$version} in file name (#176)
Commit: 0aff36bb463a5273a7d9d77d0bc1623efc7a31b2
https://github.com/scummvm/scummvm-web/commit/0aff36bb463a5273a7d9d77d0bc1623efc7a31b2
Author: Thunderforge (wjherrmann at gmail.com)
Date: 2021-11-18T16:56:42-06:00
Commit Message:
WEB: Replacing {$version} in file name (#176)
Makes this appear properly
```
IRIX (6.5.{$version}, n32, mips3) package
IRIX (6.5.{$version}, n32, mips4) package
```
Changed paths:
include/OrmObjects/Download.php
diff --git a/include/OrmObjects/Download.php b/include/OrmObjects/Download.php
index 3b14e7b0..00fc130c 100644
--- a/include/OrmObjects/Download.php
+++ b/include/OrmObjects/Download.php
@@ -21,7 +21,7 @@ class Download extends BaseDownload
$version = $this->getVersion();
// If it's not the latest version, prefix with the version number
if ($version != RELEASE) {
- return "$version $name";
+ return str_replace('{$version}', $version, "$version $name");
}
return $name;
}
More information about the Scummvm-git-logs
mailing list