Browse Source

Merge branch '2.0' of github.com:cakephp/cakephp into 2.0

Mark Story 14 years ago
parent
commit
3bc6195967
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/Cake/Model/Datasource/Database/Sqlserver.php

+ 1 - 1
lib/Cake/Model/Datasource/Database/Sqlserver.php

@@ -409,7 +409,7 @@ class Sqlserver extends DboSource {
 		if (strpos($col, 'int') !== false) {
 			return 'integer';
 		}
-		if (strpos($col, 'char') !== false && $limit === -1) {
+		if (strpos($col, 'char') !== false && $limit == -1) {
 			return 'text';
 		}
 		if (strpos($col, 'char') !== false) {