Skip to content

Commit f084d40

Browse files
committed
LF
1 parent bd59ea5 commit f084d40

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/templates/forms/misc/json_card_reader.txp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,9 @@ if (is_readable($file)) {
3838
$vars['name'] = '<txp:variable name="json-name">'.txpspecialchars($json->name).'</txp:variable>';
3939
}
4040

41+
if (!empty($json->repositories[0]->repoType)) {
42+
$vars['repotype'] = '<txp:variable name="json-repo-type">'.txpspecialchars($json->repositories[0]->repoType).'</txp:variable>';
43+
}
4144

4245
if (!empty($json->repositories)) {
4346
foreach ($json->repositories as $repo) {

0 commit comments

Comments
 (0)