|
@@ -146,8 +146,7 @@ class Shop extends Start_Controller {
|
|
|
$post['shopwhtext'] = $this->input->post('shopwhtext',true);
|
|
|
$post['edittime'] = time();
|
|
|
$post['addtime'] = time();
|
|
|
- $px = $this->shop->find_all("1=1",'*','px desc');
|
|
|
- $post['px'] = $px[0]['px']+10;
|
|
|
+ $post['px'] = $this->input->post('px',true);
|
|
|
$s = $post;
|
|
|
$s['id'] = $post['yyid'];
|
|
|
$s['name'] = $post['shortname'];
|