Browse Source

fixed form value type - string

Piotr Labudda 7 năm trước cách đây
mục cha
commit
4228d8fc34
1 tập tin đã thay đổi với 1 bổ sung0 xóa
  1. 1 0
      SE/se-lib/UI.php

+ 1 - 0
SE/se-lib/UI.php

@@ -455,6 +455,7 @@ class UI {
 	 * @param $taskPerm - 'C', 'W'
 	 */
 	public static function hGetFormItem($acl, $fieldName, $taskPerm, $fieldID, $fName, $fValue, $params = array(), $record = null) {
+		$fValue = (string)$fValue;
 		Lib::loadClass('Typespecial');
 		DBG::log(['$fieldName'=>$fieldName, '$taskPerm'=>$taskPerm, '$fieldID'=>$fieldID, '$fName'=>$fName, '$fValue'=>$fValue, '$params'=>$params, '$record'=>$record], 'array', "hGetFormItem()");