fix download matching for numeric-string download tags
This commit is contained in:
parent
5801030e31
commit
657d5ccd31
@ -196,7 +196,7 @@ class CProject {
|
||||
}
|
||||
foreach($this->downloads as $idx => $filename) {
|
||||
foreach(array_keys($known_tags) as $tagname) {
|
||||
if (stripos($filename, $tagname) !== false) {
|
||||
if (stripos($filename, (string)$tagname) !== false) {
|
||||
$found_idx[$idx] = $tagname;
|
||||
|
||||
$render_per_tag[$tagname][$idx] = $filename;
|
||||
|
Reference in New Issue
Block a user