Revize 6970ac8e
Přidáno uživatelem Ondřej Fibich před asi 5 roky(ů)
application/controllers/links.php | ||
---|---|---|
$link_model = new Link_Model();
|
||
$link_model->name = $form_data['name'];
|
||
$link_model->medium = $form_data['medium'];
|
||
$link_model->bitrate = $form_data['bitrate'] * $form_data['bit_unit'];
|
||
if (is_numeric($form_data['bitrate']) && is_numeric($form_data['bit_unit']))
|
||
{
|
||
$link_model->bitrate = $form_data['bitrate'] * $form_data['bit_unit'];
|
||
}
|
||
$link_model->duplex = $form_data['duplex'];
|
||
$link_model->comment = $form_data['comment'];
|
||
|
Také k dispozici: Unified diff
Issue #1117: Support for Debian buster