Bladeren bron

提交数据

lvhao 2 dagen geleden
bovenliggende
commit
84298eb9c5
1 gewijzigde bestanden met toevoegingen van 1 en 2 verwijderingen
  1. 1 2
      core/CoreApp/controllers/Shop.php

+ 1 - 2
core/CoreApp/controllers/Shop.php

@@ -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'];