Meets #11256: All modules deactivated when only work package tracking is selected

[``* `#11256` All modules deactivated when only work package tracking is selected``](https://www.openproject.org/work_packages/11256)
This could be written shorter as

<pre>
modules = params[:project][:enabled_module_names] || params[:enabled_modules]
</pre>