system_settings_form will automatically save all system variables for you, so you don't need to write your own submit handler.

Comments

FernandoTapiaRico’s picture

I didn't know the system_settings_form thingy, but it's really useful. Thanks for the tip
Commit:

http://drupalcode.org/sandbox/FernandoTapiaRico/1085144.git/commit/a867ea2

FernandoTapiaRico’s picture

Assigned: Unassigned » FernandoTapiaRico
Status: Active » Fixed
FernandoTapiaRico’s picture

Status: Fixed » Closed (fixed)