title: Grocery Crud callback after update not sending email
body: <p>I'm fairly new to CI and GC, so my problem might just be syntax issues. I'm trying to send an email to the owner of the record after update of a record by an administrator. The email to administrator on insert works, but the email to the user on update does nothing.</p>
  
  <p>Email functions in controller:</p>
  
  <pre><code>public function email_admin_vehicle()
      {
          $this-&gt;load-&gt;library('email');
  
          $this-&gt;email-&gt;from('myemail@gmail.com', 'Admin');
          $this-&gt;email-&gt;to('myemail@gmail.com');
  
          $this-&gt;email-&gt;subject('New Vehicle Added');
          $this-&gt;email-&gt;message('A new vehicle has been registered. Please log in to your admin panel to approve the vehicle.');
  
          $this-&gt;email-&gt;send();
  
          echo $this-&gt;email-&gt;print_debugger();
      }
       public function email_user_vehicle($post_array)
      {
          $this-&gt;load-&gt;library('email');
  
          $this-&gt;email-&gt;from('myemail@gmail.com', 'Cars in the Park');
          $this-&gt;email-&gt;to($post_array['email']);
  
          $this-&gt;email-&gt;subject('Vehicle Updated');
          $this-&gt;email-&gt;message('An administrator has updated your vehicle details. Please log on to your account to view the changes.');
  
          $this-&gt;email-&gt;send();
  
          echo $this-&gt;email-&gt;print_debugger();
      }
  </code></pre>
  
  <p>Callbacks and CG functions:</p>
  
  <pre><code>//==================\\
      //START: Vehicle Crud
      //==================\\
      public function vehicle()
      {
          if (!$this-&gt;ion_auth-&gt;logged_in())
          {
              redirect('auth/login');
          }
          else {
              if (!$this-&gt;ion_auth-&gt;is_admin()) {
          // Get User_id if standard user
          $user = $this-&gt;ion_auth-&gt;user()-&gt;row();
          // Build Crud
          $crud = new grocery_CRUD();
              $crud-&gt;unset_jquery();
              // Timestamps
              $crud-&gt;set_model('MY_grocery_Model');
              // Table
              $crud-&gt;set_table('vehicle');
              // Special Queries
              $crud-&gt;where('vehicle.user_id', $user-&gt;id );
              // Display Rules
              $crud-&gt;display_as('registration','Licence Plate'); 
              $crud-&gt;display_as('user_id','Name');
              $crud-&gt;display_as('event_id','Event');
              $crud-&gt;display_as('stand_id','Stand');
              $crud-&gt;display_as('club_id','Club');
              // Relations
              $crud-&gt;set_relation('event_id','event','event_name');
              $crud-&gt;set_relation('user_id','users','username');
              $crud-&gt;set_relation('club_id','club','club_name');
              $crud-&gt;set_relation('stand_id','stand','code');
              // Validation
              $crud-&gt;set_rules('year','Year','integer');
              $crud-&gt;required_fields('make','model','year','country','registration','event','club');
              // Fields Rules
              $crud-&gt;unset_add_fields('created','updated','stand_id','verified','paid','user_id','ref_number');
              $crud-&gt;unset_edit_fields('created','updated','stand_id','verified','paid','user_id','ref_number');
              $crud-&gt;unset_columns('user_id','created','updated','verified','paid');
              $crud-&gt;unset_export();
              $crud-&gt;unset_print();
              // Adding Buttons
              $crud-&gt;add_action('Print', '', 'print/single','ui-icon-print');
              // Callbacks
              $crud-&gt;callback_after_update(array($this, 'email_user_vehicle'));
              // Render
              $output = $crud-&gt;render();
              $this-&gt;_cruds_output($output);   
  
  
          }
          else {
                  $crud = new grocery_CRUD();
                  $crud-&gt;unset_jquery();
                  // Timestamps
                  $crud-&gt;set_model('MY_grocery_Model');
                  // Table
                  $crud-&gt;set_table('vehicle');
                  // Special Queries
                  // Display Rules
                  $crud-&gt;display_as('registration','Licence Plate');
                  $crud-&gt;display_as('user_id','Name');
                  $crud-&gt;display_as('event_id','Event');
                  $crud-&gt;display_as('stand_id','Stand');
                  $crud-&gt;display_as('club_id','Club');
                  // Relations
                  $crud-&gt;set_relation('event_id','event','event_name');
                  $crud-&gt;set_relation('user_id','users','username');
                  $crud-&gt;set_relation('club_id','club','club_name');
                  $crud-&gt;set_relation('stand_id','stand','code');
                  // Adding Buttons
  
  
                  $crud-&gt;add_action('Print', base_url().'/assets/img/print.png', 'printforms/single','');
                  // Unset Fields
                  $crud-&gt;unset_add_fields('created','updated','user_id','ref_number');
                  $crud-&gt;unset_edit_fields('created','updated','user_id','ref_number');
                  // Callbacks
                  //$crud-&gt;callback_after_insert(array($this, 'add_new_club_user'));
                  $crud-&gt;callback_after_insert(array($this, 'email_admin_vehicle'));
                  //$crud-&gt;callback_after_update(array($this, 'email_user_vehicle'));
  
  
                  // Render
                  $output = $crud-&gt;render();
                  $this-&gt;_cruds_output($output);   
              } 
  
          }  
      }
  </code></pre>
  
  <p>As I said it might just be that I don't know what I'm doing at all, but any help would be appreciated.</p>