mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-03-12 08:55:54 +00:00
Merge branch 'seeddms-4.1.3' into develop
This commit is contained in:
commit
abf12413da
|
@ -326,7 +326,7 @@ function _add_log_line($msg="") { /* {{{ */
|
|||
function filterDocumentLinks($user, $links) { /* {{{ */
|
||||
$tmp = array();
|
||||
foreach ($links as $link)
|
||||
if ($link->isPublic() || ($link->_userID == $user->getID()) || $user->isAdmin())
|
||||
if ($link->isPublic() || ($link->getUser()->getID == $user->getID()) || $user->isAdmin())
|
||||
array_push($tmp, $link);
|
||||
return $tmp;
|
||||
} /* }}} */
|
||||
|
|
|
@ -134,7 +134,7 @@ if(($oldcomment = $folder->getComment()) != $comment) {
|
|||
$params['name'] = $folder->getName();
|
||||
$params['folder_path'] = $folder->getFolderPathPlain();
|
||||
$params['old_comment'] = $oldcomment;
|
||||
$params['comment'] = $dcomment;
|
||||
$params['comment'] = $comment;
|
||||
$params['username'] = $user->getFullName();
|
||||
$params['url'] = "http".((isset($_SERVER['HTTPS']) && (strcmp($_SERVER['HTTPS'],'off')!=0)) ? "s" : "")."://".$_SERVER['HTTP_HOST'].$settings->_httpRoot."out/out.ViewFolder.php?folderid=".$folder->getID();
|
||||
$params['sitename'] = $settings->_siteName;
|
||||
|
|
Loading…
Reference in New Issue
Block a user