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);
$stmt = $con->createStatement();
$sQuery = $oDataBase->generateDropPrimaryKeysSQL($sTableName);
$rs = $stmt->executeQuery($sQuery);
try {
$rs = $stmt->executeQuery($sQuery);
} catch(PDOException $oException ) {
throw $oException;
}
foreach ($aFieldsToAdd as $aFieldToAdd) {
switch ($aFieldToAdd['FLD_TYPE']) {
case 'VARCHAR':