ソースを参照

TableAcl + bigint field

Piotr Labudda 11 年 前
コミット
fb9295abb2
1 ファイル変更2 行追加0 行削除
  1. 2 0
      SE/se-lib/TableAcl.php

+ 2 - 0
SE/se-lib/TableAcl.php

@@ -383,6 +383,7 @@ class TableAcl {
 		if (substr($colType['type'], 0, 3) == 'int' 
 				|| substr($colType['type'], 0, 7) == 'tinyint'
 				|| substr($colType['type'], 0, 8) == 'smallint'
+				|| substr($colType['type'], 0, 6) == 'bigint'
 		) {
 			//$h->Type_value = (int)str_replace(array(' ','(',')'), '', substr($h->Type, 4));
 			$html->attrs['type'] = 'number';
@@ -883,6 +884,7 @@ class TableAcl {
 			if (substr($type['type'], 0, 3) == 'int'
 					|| substr($type['type'], 0, 7) == 'tinyint'
 					|| substr($type['type'], 0, 8) == 'smallint'
+					|| substr($type['type'], 0, 6) == 'bigint'
 			) {
 				$value = intval($type['default']);
 			}