@@ -119,14 +119,14 @@ public function handle()
119119 'NAME ' => $ value ,
120120 'DESC ' => $ this ->user ->lang ('SKELETON_QUESTION_ ' . strtoupper ($ value ) . '_UI ' ),
121121 'DESC_EXPLAIN ' => array_key_exists ('SKELETON_QUESTION_ ' . strtoupper ($ value ) . '_EXPLAIN ' , $ this ->user ->lang ) ? $ this ->user ->lang ('SKELETON_QUESTION_ ' . strtoupper ($ value ) . '_EXPLAIN ' ) : '' ,
122- 'VALUE ' => $ this ->request ->variable ($ value , (string ) $ default ),
122+ 'VALUE ' => $ this ->request ->variable ($ value , (string ) $ default, true ),
123123 ));
124124 }
125125
126126 $ author_values = array ();
127127 foreach ($ dialog_questions ['author ' ] as $ value => $ default )
128128 {
129- $ author_values [$ value ] = $ this ->request ->variable ($ value , array ((string ) $ default ));
129+ $ author_values [$ value ] = $ this ->request ->variable ($ value , array ((string ) $ default ), true );
130130 }
131131
132132 $ num_authors = max (1 , count ($ author_values ['author_name ' ]));
@@ -274,10 +274,10 @@ protected function get_request_variable($value, $default, $array_key = null)
274274
275275 if ($ array_key !== null )
276276 {
277- $ return_value = $ this ->request ->variable ($ value , array ((string ) $ default ));
277+ $ return_value = $ this ->request ->variable ($ value , array ((string ) $ default ), true );
278278 return isset ($ return_value [$ array_key ]) ? (string ) $ return_value [$ array_key ] : (string ) $ default ;
279279 }
280280
281- return $ this ->request ->variable ($ value , (string ) $ default );
281+ return $ this ->request ->variable ($ value , (string ) $ default, true );
282282 }
283283}
0 commit comments