mantisbt/mantisbt — comment on commit 0ffb20f8807fc600750690e201ebf5fb325e7bfc
File:  line 0
By vincentsels:

This change seems to always result in an error when the list of project versions is printed when 'All projects' is selected (it fetches all versions with project_id = 0 which is of course nothing).

I think I fixed this by changing the following code in core/versions_api.php:

```php
function version_get_project_where_clause( $p_project_id, $p_inherit ) {
if ( $p_project_id == ALL_PROJECTS ) {
return helper_project_specific_where( ALL_PROJECTS );
```

Could you please look into this ? If you want I can send you this change as a patch.