mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-06-15 09:39:17 +00:00
propperly set version in notification mail
This commit is contained in:
parent
6b7eb1cf3e
commit
a1f98902a5
|
@ -278,7 +278,7 @@ else
|
||||||
$params = array();
|
$params = array();
|
||||||
$params['name'] = $document->getName();
|
$params['name'] = $document->getName();
|
||||||
$params['folder_path'] = $folder->getFolderPathPlain();
|
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||||
$params['version'] = $reqversion;
|
$params['version'] = $contentResult->getContent()->getVersion();
|
||||||
$params['comment'] = $comment;
|
$params['comment'] = $comment;
|
||||||
$params['username'] = $user->getFullName();
|
$params['username'] = $user->getFullName();
|
||||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||||
|
@ -299,7 +299,7 @@ else
|
||||||
$params = array();
|
$params = array();
|
||||||
$params['name'] = $document->getName();
|
$params['name'] = $document->getName();
|
||||||
$params['folder_path'] = $folder->getFolderPathPlain();
|
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||||
$params['version'] = $reqversion;
|
$params['version'] = $contentResult->getContent()->getVersion();
|
||||||
$params['comment'] = $comment;
|
$params['comment'] = $comment;
|
||||||
$params['username'] = $user->getFullName();
|
$params['username'] = $user->getFullName();
|
||||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewDocument.php?documentid=".$document->getID();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user