a.binder hace 8 años
padre
commit
af2fda331d
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      SE/se-lib/Core/Database/Mysql.php

+ 1 - 1
SE/se-lib/Core/Database/Mysql.php

@@ -1068,7 +1068,7 @@ class Core_Database_Mysql extends Core_Database {
 																		  			|| ( strstr($VAL->Type, 'datetime')  ) && strstr($ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type, 'char' )
 																		  			|| ( strstr($VAL->Type, 'datetime')  ) && strstr('varchar' ,$ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type)
 																		  			|| ( strstr($VAL->Type, 'datetime')  ) && strstr($ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type, 'date' )
-																		  			|| ( strstr($VAL->Type, 'tinyint')  ) && strstr($ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type, 'tinyint' )
+																		  			|| ( strstr($VAL->Type, 'tinyint(')  ) && strstr($ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type, 'tinyint(' )
 																	      			) {
 
 																			      $sql=" alter table `".$TABLE."` CHANGE `".$FIELD_TO_CHK."` `".$FIELD_TO_CHK."` ".$ARR_TABLE['FIELDS'][$INDEX_OF_CONFIG_TABLE]->Type." ; ";