PMC-916
This commit is contained in:
@@ -1735,7 +1735,7 @@ class AppCacheView extends BaseAppCacheView
|
||||
$arrayAppField = $app->Load($appcvAppUid);
|
||||
|
||||
$appTitle = (!empty($appTitle))? $appTitle : "#" . $arrayAppField["APP_NUMBER"];
|
||||
$appTitleNew = G::replaceDataField($appTitle, unserialize($arrayAppField["APP_DATA"]));
|
||||
$appTitleNew = G::replaceDataField($appTitle, unserialize($arrayAppField["APP_DATA"]), 'mysql', false);
|
||||
|
||||
if (isset($arrayAppField["APP_TITLE"]) && $arrayAppField["APP_TITLE"] != $appTitleNew) {
|
||||
//Updating the value in content, where...
|
||||
|
||||
@@ -145,8 +145,7 @@ class AppFolder extends BaseAppFolder
|
||||
|
||||
$oApplication = new Application();
|
||||
$appFields = $oApplication->Load( $sessionID );
|
||||
$folderPathParsed = G::replaceDataField( $folderPath, $appFields );
|
||||
$folderPathParsed = G::replaceDataField( $folderPath, unserialize( $appFields['APP_DATA'] ) );
|
||||
$folderPathParsed = G::replaceDataField( $folderPath, unserialize( $appFields['APP_DATA'] ), 'mysql', false );
|
||||
$folderPathParsedArray = explode( "/", $folderPathParsed );
|
||||
$folderRoot = "/"; //Always starting from Root
|
||||
foreach ($folderPathParsedArray as $folderName) {
|
||||
@@ -174,8 +173,7 @@ class AppFolder extends BaseAppFolder
|
||||
|
||||
$oApplication = new Application();
|
||||
$appFields = $oApplication->Load( $sessionID );
|
||||
$fileTagsParsed = G::replaceDataField( $fileTags, $appFields );
|
||||
$fileTagsParsed = G::replaceDataField( $fileTags, unserialize( $appFields['APP_DATA'] ) );
|
||||
$fileTagsParsed = G::replaceDataField( $fileTags, unserialize( $appFields['APP_DATA'] ), 'mysql', false );
|
||||
return $fileTagsParsed;
|
||||
}
|
||||
|
||||
|
||||
@@ -213,7 +213,7 @@ class AppNotes extends BaseAppNotes
|
||||
$configNoteNotification['subject'] = G::LoadTranslation('ID_MESSAGE_SUBJECT_NOTE_NOTIFICATION') . " @#APP_TITLE ";
|
||||
//Define the body for the notification
|
||||
$configNoteNotification['body'] = $this->getBodyCaseNote($authorName, $noteContent);
|
||||
$body = nl2br(G::replaceDataField($configNoteNotification['body'], $fieldCase));
|
||||
$body = nl2br(G::replaceDataField($configNoteNotification['body'], $fieldCase, 'mysql', false));
|
||||
|
||||
$users = new Users();
|
||||
$recipientsArray = explode(",", $noteRecipients);
|
||||
@@ -229,7 +229,7 @@ class AppNotes extends BaseAppNotes
|
||||
$appUid,
|
||||
$delIndex,
|
||||
WsBase::MESSAGE_TYPE_CASE_NOTE,
|
||||
G::replaceDataField($configNoteNotification['subject'], $fieldCase),
|
||||
G::replaceDataField($configNoteNotification['subject'], $fieldCase, 'mysql', false),
|
||||
G::buildFrom($configuration, $from),
|
||||
$to,
|
||||
$body,
|
||||
|
||||
@@ -34,7 +34,7 @@ class ListInbox extends BaseListInbox implements ListInterface
|
||||
if (isset($data['APP_TITLE'])) {
|
||||
$oCase = new Cases();
|
||||
$aData = $oCase->loadCase($data["APP_UID"]);
|
||||
$data['APP_TITLE'] = G::replaceDataField($data['APP_TITLE'], $aData['APP_DATA']);
|
||||
$data['APP_TITLE'] = G::replaceDataField($data['APP_TITLE'], $aData['APP_DATA'], 'mysql', false);
|
||||
}
|
||||
if (!empty($data['PRO_UID']) && empty($data['PRO_ID'])) {
|
||||
$p = new Process();
|
||||
@@ -124,7 +124,7 @@ class ListInbox extends BaseListInbox implements ListInterface
|
||||
if (isset($data['APP_TITLE'])) {
|
||||
$oCase = new Cases();
|
||||
$aData = $oCase->loadCase($data["APP_UID"]);
|
||||
$data['APP_TITLE'] = G::replaceDataField($data['APP_TITLE'], $aData['APP_DATA']);
|
||||
$data['APP_TITLE'] = G::replaceDataField($data['APP_TITLE'], $aData['APP_DATA'], 'mysql', false);
|
||||
}
|
||||
if ($isSelfService) {
|
||||
$listParticipatedLast = new ListParticipatedLast();
|
||||
|
||||
Reference in New Issue
Block a user