summaryrefslogtreecommitdiffstats
path: root/user_guide
diff options
context:
space:
mode:
authorDerek Allard <derek.allard@ellislab.com>2008-02-06 13:31:17 +0100
committerDerek Allard <derek.allard@ellislab.com>2008-02-06 13:31:17 +0100
commit1a0929aec8a6bd8af3eadefe5f48927b9ea4358d (patch)
treeffd0e3e6e33af0f7a1d9d1fbb2a5ca2d562ff72b /user_guide
parent3e28887c84f73f1ade73f47b0ca220e7b8ef2bdb (diff)
fixed an unneeded "if" call that prevented AR caching in some cases
Diffstat (limited to 'user_guide')
-rw-r--r--user_guide/database/active_record.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index 01781460a..ba122b85b 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/database/active_record.html
@@ -728,7 +728,7 @@ $this-&gt;db-&gt;select('field1');<br />
$this-&gt;db-&gt;stop_cache();<br />
$this-&gt;db-&gt;get('tablename');<br />
// Results in:<br />
-/ SELECT `field1` FROM (`tablename`)<br />
+// SELECT `field1` FROM (`tablename`)<br />
<br />
$this-&gt;db-&gt;select('field2');<br />
$this-&gt;db-&gt;get('tablename');<br />