|
@@ -51,7 +51,7 @@ Class Manage
|
|
$type = Dever::input('type');
|
|
$type = Dever::input('type');
|
|
|
|
|
|
if ($id) {
|
|
if ($id) {
|
|
- $data = Dever::db('work/info')->find($id);
|
|
|
|
|
|
+ $info = Dever::db('work/info')->find($id);
|
|
$update['where_id'] = $info['id'];
|
|
$update['where_id'] = $info['id'];
|
|
if ($type == 1) {
|
|
if ($type == 1) {
|
|
$update['status'] = 4;
|
|
$update['status'] = 4;
|