1
0
mirror of https://github.com/phpbb/phpbb.git synced 2025-07-30 21:40:43 +02:00

[ticket/15289] Update acp to be able to save data in the database

PHPBB3-15289
This commit is contained in:
Rubén Calvo
2017-08-02 15:08:34 +02:00
parent 6e739a1d0b
commit c3c8117f0a
3 changed files with 61 additions and 4 deletions

View File

@@ -32,9 +32,9 @@ class form extends \Twig_Extension
];
}
public static function generate_input($options)
public static function generate_input($options, $value = '')
{
$input = '<input ';
$input = '<input value="' . $value . '"';
switch ($options['type'])
{