* Use same params for createLink function to removing warns.

This commit is contained in:
dingguodong
2021-08-10 13:53:46 +08:00
parent 853a0fb71c
commit 1f87bc88ee
+2 -2
View File
@@ -153,10 +153,10 @@ class helper extends baseHelper
* @access public
* @return string
*/
public static function createLink($module, $method, $vars)
static public function createLink($moduleName, $methodName = 'index', $vars = '', $viewType = '', $onlyBody = false)
{
global $config;
$link = parent::createLink($module, $method, $vars, 'html');
$link = parent::createLink($moduleName, $methodName, $vars, 'html');
$pos = strpos($link, '.php');
/* The requestTypes are: GET, PATH_INFO2, PATH_INFO */