nicer exception handling
[pharext/pharext.org] / app / views / github / repo.phtml
index 36849c00094ae9720b192637cb4cfe5ac392ccdf..d32183068e95ff43e214e3daa57dfe250f1e8064 100644 (file)
                                <?= $this->e($v->tag->name) ?>
                                <span class="label label-default pull-right">Tag</span>
                        <?php else : ?>
-                               <?= $this->e($v->release->name) ?>
+                               <?= $this->e($v->release->name ?: $v->tag->name) ?>
                                <span class="label label-info pull-right">Release</span>
                        <?php endif; ?>
                </h3>