bareos-webui: bareos-16.2 99cd3719

Author Committer Branch Timestamp Parent
samverstraete frank bareos-16.2 2017-01-21 13:45 bareos-16.2 a922decb Pending
Changeset Update RestoreModel.php

There's a situation where if $mergefilesets==0 and $mergejobs==1, the $cmd variable isn't set and code is executed, leading into an error trying to get jobids. The user shouldn't be able to select this situation, but I have tried this, and it can happen.
I'm proposing a change in the if-structure so that $cmd is always correctly set.
mod - module/Restore/src/Restore/Model/RestoreModel.php Diff File