PM 356 "The description of process events..." SOLVED

This commit is contained in:
Luis Fernando Saisa Lopez
2014-10-20 17:11:52 -04:00
parent ac4464e029
commit e89f7afa07
2 changed files with 4 additions and 2 deletions

View File

@@ -104,7 +104,9 @@ class Event extends BaseEvent
$aData['EVN_UID'] = G::generateUniqueID();
}
$aData["EVN_DESCRIPTION"] = str_replace("__AMP__", "&", $aData["EVN_DESCRIPTION"]);
if (isset($aData["EVN_DESCRIPTION"])) {
$aData["EVN_DESCRIPTION"] = str_replace("AMP", "&", $aData["EVN_DESCRIPTION"]);
}
$oConnection = Propel::getConnection( EventPeer::DATABASE_NAME );
try {