BUG 7162 Fix Bug variable initialization when save a case scheduler.

This commit is contained in:
Hector Cortez
2011-07-04 11:58:25 -04:00
parent af1775eeee
commit 3e7e67667c

View File

@@ -493,9 +493,11 @@ class AdditionalTables extends BaseAdditionalTables {
$con = Propel::getConnection($sConnection); $con = Propel::getConnection($sConnection);
$stmt = $con->createStatement(); $stmt = $con->createStatement();
$sQuery = $oDataBase->generateDropPrimaryKeysSQL($sTableName); $sQuery = $oDataBase->generateDropPrimaryKeysSQL($sTableName);
try {
$rs = $stmt->executeQuery($sQuery); $rs = $stmt->executeQuery($sQuery);
} catch(PDOException $oException ) {
throw $oException;
}
foreach ($aFieldsToAdd as $aFieldToAdd) { foreach ($aFieldsToAdd as $aFieldToAdd) {
switch ($aFieldToAdd['FLD_TYPE']) { switch ($aFieldToAdd['FLD_TYPE']) {
case 'VARCHAR': case 'VARCHAR':