瀏覽代碼

SQL Block with parameters were always displayed as table, whatever their type...

git-svn-id: http://svn.code.sf.net/p/itop/code/trunk@1829 a333f486-631f-4898-b8df-5754b55c2be0
dflaven 13 年之前
父節點
當前提交
6e121fb832
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      application/sqlblock.class.inc.php

+ 3 - 3
application/sqlblock.class.inc.php

@@ -182,13 +182,13 @@ class SqlBlock
 				
 				if (isset($oParamData->type))
 				{
-					$sType = $oParamData->type;
+					$sParamType = $oParamData->type;
 				}
 				else
 				{
-					$sType = 'context';
+					$sParamType = 'context';
 				}
-				$aParams[$sName] = array('mapping' => $sMapping, 'type' => $sType);
+				$aParams[$sName] = array('mapping' => $sMapping, 'type' => $sParamType);
 			}
 		}