hack fix to stop rendering tags with no metadata

This commit is contained in:
Jeremy Kauffman 2018-11-08 13:09:32 -05:00 committed by GitHub
parent b3cc8a1b5c
commit bc1dbacf75
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -48,6 +48,7 @@
<div class="row-fluid spacer1">
<?php $tagIndex = 0 ?>
<?php foreach ($tags as $tag => $enabled): ?>
<?php if (!isset($tagMetadata[$tag])) { continue; } //fix/kill this ?>
<?php $tagId = 'tag_' . (++$tagIndex) ?>
<div class="span6">
<div class="row-fluid">
@ -76,4 +77,4 @@
</div>
</section>
</form>
<?php endif ?>
<?php endif ?>