ソースを参照

Projekty fix TREEJS after change P_ID to int

Piotr Labudda 11 年 前
コミット
0223348efe
1 ファイル変更3 行追加1 行削除
  1. 3 1
      SE/superedit-TREEJS.php

+ 3 - 1
SE/superedit-TREEJS.php

@@ -307,7 +307,9 @@ if(0){// RMME
 				, p.`M_DIST_INVENTOR`
 			from `{$tblName}` as p
 			where
-				p.P_ID!='-1' and p.P_ID!=''
+				p.P_ID!='-1'
+				-- and p.P_ID!=''
+				and p.P_ID>=0
 		";
 		$res = $db->query($sql);
 		$dbgExecTime->log('lazy-execute-sql', array('lazy-load'));