Revize f5adf00c
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
Fixes #1124: Creating roaming link is not working on PHP 7.3
Conflicts:
application/controllers/links.php