Browse Source

Action:setmoduleoption:update Permit html data in module parameter

Mathieu Moulin 2 năm trước cách đây
mục cha
commit
5b3e374c22
1 tập tin đã thay đổi với 4 bổ sung0 xóa
  1. 4 0
      htdocs/core/actions_setmoduleoptions.inc.php

+ 4 - 0
htdocs/core/actions_setmoduleoptions.inc.php

@@ -39,6 +39,10 @@ if ($action == 'update' && is_array($arrayofparameters)) {
 				} else {
 					$val_const = GETPOST($key, 'int');
 				}
+			// Added by MMI Mathieu Moulin iProspective
+			// Action:setmoduleoption:update Permit html data in module parameter
+			} elseif ($val['type']=='html') {
+				$val_const = GETPOST($key, 'html');
 			} else {
 				$val_const = GETPOST($key, 'alpha');
 			}