summaryrefslogtreecommitdiffstats
path: root/user_guide/tutorial/news_section.html
diff options
context:
space:
mode:
authorWes Baker <wes@wesbaker.com>2013-07-08 23:22:21 +0200
committerWes Baker <wes@wesbaker.com>2013-07-08 23:22:21 +0200
commitc5f99fdcc5c4a918b5b8fe3ddbd56ab25ad1c22b (patch)
tree9078f2e847bee8adab51598e6a3e08e6e325dc38 /user_guide/tutorial/news_section.html
parent4c866e0b911fcc82cf49b317178788ce3c319bd4 (diff)
Updating User Guide for 2.1.4.
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();
}