mirror of
https://git.code.sf.net/p/seeddms/code
synced 2025-02-11 09:35:00 +00:00
make first 3 parameters of html_link() required, because 4th parameter is also required
This commit is contained in:
parent
18215ebf7f
commit
07ba52da63
|
@ -333,7 +333,7 @@ class SeedDMS_View_Common {
|
|||
* @param boolean $hsc set to false if htmlspecialchars() shall not be called
|
||||
* @return string link
|
||||
*/
|
||||
protected function html_link($view='', $urlparams=array(), $linkparams=array(), $link, $hsc=true, $nocheck=false, $wrap=array()) { /* {{{ */
|
||||
protected function html_link($view, $urlparams, $linkparams, $link, $hsc=true, $nocheck=false, $wrap=array()) { /* {{{ */
|
||||
if(!$nocheck)
|
||||
if(!$this->check_view_access($view))
|
||||
return '';
|
||||
|
|
Loading…
Reference in New Issue
Block a user