summaryrefslogtreecommitdiffstats
path: root/user_guide/database
diff options
context:
space:
mode:
Diffstat (limited to 'user_guide/database')
-rw-r--r--user_guide/database/active_record.html5
1 files changed, 3 insertions, 2 deletions
diff --git a/user_guide/database/active_record.html b/user_guide/database/active_record.html
index 6f842f47e..087d3e1ff 100644
--- a/user_guide/database/active_record.html
+++ b/user_guide/database/active_record.html
@@ -525,8 +525,9 @@ $this->db->update('mytable', $data);
$object = new Myclass;<br />
<br />
$this->db->where('id', $id);<br />
-$this->db->update('mytable', $object, $where);
-<br /><br />
+$this->db->update('mytable', $object);
+<br />
+<br />
// Produces:<br />
// UPDATE mytable <br />
// SET title = '{$title}', name = '{$name}', date = '{$date}'<br />