From 5c95d9fd184a5298229043fedf6b3a3365c88726 Mon Sep 17 00:00:00 2001 From: lanzongjun Date: Fri, 8 Jul 2022 14:52:46 +0800 Subject: [PATCH] * fix bug #25016 --- module/common/model.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/module/common/model.php b/module/common/model.php index bf67af7fe6..0409a98a33 100644 --- a/module/common/model.php +++ b/module/common/model.php @@ -1601,7 +1601,7 @@ EOD; * @param string $extraClass * @param bool $onlyBody * @param string $misc - * @Param bool $extraEnabled + * @param bool $extraEnabled * @static * @access public * @return void @@ -1802,13 +1802,14 @@ EOD; * @param string $extraClass * @param bool $onlyBody * @param string $misc + * @param string $extraEnabled * @static * @access public * @return void */ - public static function printIcon($module, $method, $vars = '', $object = '', $type = 'button', $icon = '', $target = '', $extraClass = '', $onlyBody = false, $misc = '', $title = '', $programID = 0) + public static function printIcon($module, $method, $vars = '', $object = '', $type = 'button', $icon = '', $target = '', $extraClass = '', $onlyBody = false, $misc = '', $title = '', $programID = 0, $extraEnabled = '') { - echo common::buildIconButton($module, $method, $vars, $object, $type, $icon, $target, $extraClass, $onlyBody, $misc, $title, $programID); + echo common::buildIconButton($module, $method, $vars, $object, $type, $icon, $target, $extraClass, $onlyBody, $misc, $title, $programID, $extraEnabled); } /**