summaryrefslogtreecommitdiffstats
path: root/user_guide/tutorial/news_section.html
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/tutorial/news_section.html')
-rw-r--r--user_guide/tutorial/news_section.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/user_guide/tutorial/news_section.html b/user_guide/tutorial/news_section.html
index 64c693246..db199848c 100644
--- a/user_guide/tutorial/news_section.html
+++ b/user_guide/tutorial/news_section.html
@@ -28,7 +28,7 @@
<div id="masthead">
<table cellpadding="0" cellspacing="0" border="0" style="width:100%">
<tr>
-<td><h1>CodeIgniter User Guide Version 2.1.3</h1></td>
+<td><h1>CodeIgniter User Guide Version Location</h1></td>
<td id="breadcrumb_right"><a href="../toc.html">Table of Contents Page</a></td>
</tr>
</table>
@@ -103,7 +103,7 @@ public function get_news($slug = FALSE)
$query = $this->db->get('news');
return $query->result_array();
}
-
+
$query = $this->db->get_where('news', array('slug' => $slug));
return $query->row_array();
}