summaryrefslogtreecommitdiffstats
path: root/views/elements/animetable.html.php
diff options
context:
space:
mode:
authorraylu <raylu@mixpanel.com>2011-07-16 22:58:09 -0700
committerraylu <raylu@mixpanel.com>2011-07-16 23:07:36 -0700
commit994c36b8279480b6e3374017140e36d77401d3a4 (patch)
treebf93a3b31be862ead08433df2bec7c0481fcc0f0 /views/elements/animetable.html.php
parent5cc64bc633e8ff287cf7bb16ab1a8b8d2afb29b3 (diff)
downloadotakuhub-994c36b8279480b6e3374017140e36d77401d3a4.tar.xz
add manga to search/index
Diffstat (limited to 'views/elements/animetable.html.php')
-rw-r--r--views/elements/animetable.html.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/views/elements/animetable.html.php b/views/elements/animetable.html.php
index 0d9f9fb..ea222a6 100644
--- a/views/elements/animetable.html.php
+++ b/views/elements/animetable.html.php
@@ -6,12 +6,12 @@
<tr>
<td>
<a href="/anime/view/<?= $a->special_id ?>"><?= $a->title ?></a>
- <?php if ($a->foreign_titles || $a->alternative_titles): ?>
+ <?php if (isset($a->foreign_titles) || isset($a->alternative_titles)): ?>
<span class="alt_titles">
- <?php if ($a->foreign_titles): ?>
+ <?php if (isset($a->foreign_titles)): ?>
<?= $a->foreign_titles[0] ?>
<?php endif ?>
- <?php if ($a->alternative_titles): ?>
+ <?php if (isset($a->alternative_titles)): ?>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<?= $a->alternative_titles[0] ?>
<?php endif ?>