Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

yet another commit

  • Loading branch information...
commit 17d19c8768cda7ec12b16d7a4fadf4971a583f72 1 parent 176be7f
@whateverpal authored
Showing with 4 additions and 1 deletion.
  1. +4 −1 application/controllers/auth.php
View
5 application/controllers/auth.php
@@ -99,7 +99,10 @@ function valid_register(){
'is_active' => (int)$this->input->post("subscribe") == 1 ? 1 : 0
));
- $mail_cat_id = $this->config->item('subscribe_catid');
+ if (defined('DEFAULT_EMAIL_SUBSCRIBE_CATEGORY'))
+ $mail_cat_id = DEFAULT_EMAIL_SUBSCRIBE_CATEGORY;
+ else
+ $mail_cat_id = $this->config->item('subscribe_catid');
$subscriber_id = $this->db->insert_id();
$this->db->insert('subscribe_users_catindex',array(
'user_id' => $subscriber_id,
Please sign in to comment.
Something went wrong with that request. Please try again.