BUG 8166 "Notice al importar procesos" SOLVED
- there were some 3 new validations for 3 variables to process importing, but not always they're set so, before validation we're askin if exists - the same por a variable dynaform when importing process the process already exists and a update was requested
This commit is contained in:
@@ -390,9 +390,10 @@ class Process extends BaseProcess {
|
||||
|
||||
public function update($aData)
|
||||
{
|
||||
if (is_array($aData['PRO_DYNAFORMS'])) {
|
||||
if (isset($aData['PRO_DYNAFORMS']) && is_array($aData['PRO_DYNAFORMS'])) {
|
||||
$aData['PRO_DYNAFORMS'] = @serialize($aData['PRO_DYNAFORMS']);
|
||||
}
|
||||
|
||||
$con = Propel::getConnection( ProcessPeer::DATABASE_NAME );
|
||||
try {
|
||||
$con->begin();
|
||||
|
||||
Reference in New Issue
Block a user