mirror of
				https://git.code.sf.net/p/seeddms/code
				synced 2025-10-31 13:18:06 +00:00 
			
		
		
		
	do not access protected variable _userID of DocumentLink
This commit is contained in:
		
							parent
							
								
									848200ce1c
								
							
						
					
					
						commit
						1fc78ff3b4
					
				|  | @ -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; | ||||
| } /* }}} */ | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Uwe Steinmann
						Uwe Steinmann