This commit is contained in:
Squidly271 2021-07-17 09:00:05 -04:00
parent fed7d4c506
commit 634101b81c
3 changed files with 3 additions and 3 deletions

View File

@ -11,7 +11,7 @@ b398273cf7daa62ab00d2de2336ca25f ./README.md
6e48a62b91bdd066f023f46c6b491afd ./images/discord-gray.svg
8e7dc33512b8a78f28d7179a972c7c34 ./images/discord-hover.svg
54e46db492ddb033dfeb2827c5efd4a8 ./images/discord-white.svg
b2871feeb961b0c3cf92cf755117d3a8 ./include/exec.php
2aff4ef7ed5d76944919315078ec7036 ./include/exec.php
06b55b88a6ed1834a15c7fd72b2c819d ./include/helpers.php
255dc18c0d28e65e3a23eb7a80969802 ./include/paths.php
eb76c1b6ed3da5e5b393f22d2ec18430 ./javascript/libraries.js

View File

@ -395,8 +395,8 @@ function getConvertedTemplates() {
$o['Date'] = ( $o['Date'] ) ? strtotime( $o['Date'] ) : 0;
$o['SortAuthor'] = $o['Author'];
$o['Compatible'] = versionCheck($o);
$o['CardDescription'] = (strlen($o['Description']) > 240) ? substr($o['Description'],0,240)." ..." : $o['Description'];
$o['Description'] = $o['Description'] ?: $o['Overview'];
$o['CardDescription'] = $o['Description'];
$o = fixTemplates($o);
$myTemplates[$i] = $o;
$i = ++$i;