diff options
Diffstat (limited to 'user_guide/general/models.html')
-rw-r--r-- | user_guide/general/models.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/user_guide/general/models.html b/user_guide/general/models.html index 2759f0219..52172570e 100644 --- a/user_guide/general/models.html +++ b/user_guide/general/models.html @@ -110,7 +110,7 @@ class Blogmodel extends Model {<br /> $this->content = $_POST['content'];<br />
$this->date = time();<br />
<br />
- $this->db->update('entries', $this, array('id', $_POST['id']));<br />
+ $this->db->update('entries', $this, array('id' => $_POST['id']));<br />
}<br />
<br />
}</code>
|