|
@@ -121,7 +121,7 @@ class SchoolController extends AdminBaseController{ |
|
@@ -121,7 +121,7 @@ class SchoolController extends AdminBaseController{ |
121
|
public function school_edit_post(){
|
121
|
public function school_edit_post(){
|
122
|
|
122
|
|
123
|
$data['id'] = $_POST['id'];
|
123
|
$data['id'] = $_POST['id'];
|
124
|
- $data['region'] = $_POST['region'];
|
124
|
+ $data['region'] = $_POST['province']." ".$_POST['city']." ".$_POST['county'];
|
125
|
$data['school'] = $_POST['school'];
|
125
|
$data['school'] = $_POST['school'];
|
126
|
$data['type'] = $_POST['type'];
|
126
|
$data['type'] = $_POST['type'];
|
127
|
$res = Db::name('school') -> update($data);
|
127
|
$res = Db::name('school') -> update($data);
|