瀏覽代碼

! Really added the missing global this time !

Spuds 12 年之前
父節點
當前提交
4af32d9925
共有 1 個文件被更改,包括 2 次插入0 次删除
  1. 2 0
      Sources/DbPackages-mysql.php

+ 2 - 0
Sources/DbPackages-mysql.php

@@ -622,6 +622,8 @@ function smf_db_list_indexes($table_name, $detail = false, $parameters = array()
 
 function smf_db_create_query_column($column)
 {
+	global $smcFunc;
+	
 	// Auto increment is easy here!
 	if (!empty($column['auto']))
 	{