|
@@ -199,7 +199,7 @@ class User extends Start_Controller
|
|
|
$post['warehouse'] = $this->input->post('warehouse', true);
|
|
|
$post['warehousetext'] = $this->input->post('warehousetext', true);
|
|
|
$post['customer'] = $this->input->post('customer', true);
|
|
|
- $post['staff'] = $this->input->post('staff', true);
|
|
|
+ $post['staff'] = empty($this->input->post('staff', true))?0:$this->input->post('staff', true);
|
|
|
$post['stafftext'] = $this->input->post('stafftext', true);
|
|
|
$post['power'] = $this->input->post('power', true);
|
|
|
$post['name'] = $this->input->post('name', true);
|