use INPUT-FIELD-VALUE for check-box
This commit is contained in:
parent
ca7e42cfa0
commit
e6e4ea0f1a
|
@ -66,9 +66,7 @@
|
|||
(error "not a positive integer"))
|
||||
(handler-options req "Please enter a valid, positive integer number"))))
|
||||
((returned-via? submit-cache bindings)
|
||||
(let ((cache-plugins? (if (input-field-binding cache-checkbox bindings)
|
||||
#t
|
||||
#f)))
|
||||
(let ((cache-plugins? (input-field-value cache-checkbox bindings)))
|
||||
(set-options-cache-surflets? cache-plugins?)
|
||||
(handler-options req
|
||||
(format #f "Caching turned ~s."
|
||||
|
|
Loading…
Reference in New Issue