[ticket/469] Fix tests with new settings

B3P-469
This commit is contained in:
Marc Alexander
2015-02-13 19:52:00 +01:00
parent 311c7cb97f
commit 30bd67f3d8
3 changed files with 24 additions and 3 deletions

View File

@@ -173,4 +173,17 @@ class modules_helper
return h_radio($key, $radio_ary, $value, $key);
}
/**
* Store left right choice
*
* @param string $key Config key
*/
public function store_left_right($key)
{
// Get selected side
$value = $this->request->variable($key, false);
$this->config->set($key, $value);
}
}