• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Missing Argument 1 in function

#1
[eluser]Unknown[/eluser]
Quote:A PHP Error was encountered

Severity: Warning

Message: Missing argument 1 for Etr::delete_etr()

Filename: controllers/etr.php

Line Number: 165

I'm getting this error when I try to delete a saved data. Here's my code in 165:

Code:
public function delete_etr($p_id){
  $this->load->model('Timesheet','ts');
  $etr_data['ID'] = $p_id;
  $this->ts->delete($etr_data);
  $this->main();
}

Is this a bug? Please help me. Thanks!


Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.