This commit is contained in:
Claude 2012-06-14 09:22:00 +02:00
parent b415f65249
commit 1b8e236e49

View File

@ -148,6 +148,7 @@ class Pastes extends CI_Model
$data['snipurl'] = false; $data['snipurl'] = false;
} }
} }
$data['session_id'] = $this->input->cookie('ci_session');
$this->db->insert('pastes', $data); $this->db->insert('pastes', $data);
return 'view/' . $data['pid']; return 'view/' . $data['pid'];
} }