Browse Source

Changed $content to $anime to match change in the controller

Michael Francis 14 năm trước cách đây
mục cha
commit
c177228990
1 tập tin đã thay đổi với 2 bổ sung2 xóa
  1. 2 2
      views/anime_list/addsearch.html.php

+ 2 - 2
views/anime_list/addsearch.html.php

@@ -3,10 +3,10 @@
 	<?= $this->form->text('Search', array('value' => 'Search for...')); ?>
 	<?= $this->form->submit('Go', array('class' => 'button')); ?>
 <?= $this->form->end(); ?>
-<?php if (isset($content)): ?>
+<?php if (isset($anime)): ?>
 	<table class="table">
 	<tr><th>Entry #</th><th>Name</th><th>Type</th><th>Episodes</th><th>Score</th><th>Add</th></tr>
-	<?php $i = 1; foreach($content as $result): ?>
+	<?php $i = 1; foreach($anime as $result): ?>
 		<tr>
 			<td># <?= $i ?></td>
 			<td><?= $result->title ?></td>