make first 3 parameters of html_link() required, because 4th parameter is also required

This commit is contained in:
Uwe Steinmann 2023-06-02 18:10:39 +02:00
parent 18215ebf7f
commit 07ba52da63

View File

@ -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 '';