From 1a0929aec8a6bd8af3eadefe5f48927b9ea4358d Mon Sep 17 00:00:00 2001 From: Derek Allard Date: Wed, 6 Feb 2008 12:31:17 +0000 Subject: fixed an unneeded "if" call that prevented AR caching in some cases --- user_guide/database/active_record.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'user_guide/database/active_record.html') 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->db->select('field1');
$this->db->stop_cache();
$this->db->get('tablename');
// Results in:
-/ SELECT `field1` FROM (`tablename`)
+// SELECT `field1` FROM (`tablename`)

$this->db->select('field2');
$this->db->get('tablename');
-- cgit v1.2.3-24-g4f1b