|
@@ -123,13 +123,13 @@ Class Cron
|
|
|
if ($app && $app['admin']) {
|
|
|
$update['fpeople'] = $app['admin'];
|
|
|
} else {
|
|
|
- if ($info['branch_id']) {
|
|
|
- $branch = explode(',',$info['branch_id']);
|
|
|
+ if ($v['branch_id']) {
|
|
|
+ $branch = explode(',',$v['branch_id']);
|
|
|
if (isset($branch[1]) && $branch[1]) {
|
|
|
$update['fpeople'] = $branch[1];
|
|
|
}
|
|
|
} else {
|
|
|
- $update['fpeople'] = $info['audit_admin'];
|
|
|
+ $update['fpeople'] = $v['audit_admin'];
|
|
|
}
|
|
|
}
|
|
|
$update['where_id'] = $v['id'];
|