Skip to content
Snippets Groups Projects
Commit d7c87bbb authored by Carsten  Rose's avatar Carsten Rose
Browse files

StoreT3Bodytext.php: Hardcoded keynames replace by constants.

parent 6c1c5f81
No related branches found
No related tags found
No related merge requests found
......@@ -28,9 +28,9 @@ class StoreT3Bodytext {
*/
private function __construct() {
self::$defaultSanatizeClass = [
'debugLoad' => SANATIZE_DIGIT,
'debugSave' => SANATIZE_DIGIT,
'form' => SANATIZE_ALNUMX
T3_BODYTEXT_DEBUG_LOAD => SANATIZE_DIGIT,
T3_BODYTEXT_DEBUG_SAVE => SANATIZE_DIGIT,
T3_BODYTEXT_FORM => SANATIZE_ALNUMX
];
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment