Skip to content

Commit 5c51c46

Browse files
committed
Stray test
1 parent f084d40 commit 5c51c46

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

src/templates/forms/misc/json_card_reader.txp

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,10 +38,6 @@ 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-
}
44-
4541
if (!empty($json->repositories)) {
4642
foreach ($json->repositories as $repo) {
4743
$safeType = txpspecialchars($repo->repoType);

0 commit comments

Comments
 (0)