From 4d256cae428283f654e66b0d219efa9c173278c7 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 10 Jun 2012 18:31:57 +0200 Subject: [PATCH] bugfix: paste -> code --- htdocs/application/controllers/main.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/htdocs/application/controllers/main.php b/htdocs/application/controllers/main.php index 5558b7f..5bc8e58 100755 --- a/htdocs/application/controllers/main.php +++ b/htdocs/application/controllers/main.php @@ -181,7 +181,7 @@ class Main extends CI_Controller $data['expire_set'] = $this->input->post('expire'); $data['private_set'] = $this->input->post('private'); $data['snipurl_set'] = $this->input->post('snipurl'); - $data['paste_set'] = $this->input->post('paste'); + $data['paste_set'] = $this->input->post('code'); $data['title_set'] = $this->input->post('title'); $data['reply'] = $this->input->post('reply'); $data['lang_set'] = $this->input->post('lang'); @@ -424,7 +424,7 @@ class Main extends CI_Controller function _valid_captcha($text) { - $this->form_validation->set_message('_valid_captcha', 'Captcha is incorrect'); + $this->form_validation->set_message('_valid_captcha', 'The Captcha is incorrect'); return $text == $this->db_session->userdata('captcha'); }