View Issue Details

IDProjectCategoryView StatusLast Update
0007000mantisbtfilterspublic2006-05-07 03:51
ReporterElmar Assigned Tovboctor  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version1.0.2 
Fixed in Version1.1.0a1 
Summary0007000: SYSTEM WARNING: Argument 1 to array_multisort() is expected to be an array or a sort flag
Description

Although this error is mentioned in 0005535 and 0005719 this issue is not fixed in 1.0.2. I applied the newest filter_api.php but it did not fix the problem.

Error occurs in the Filter > Custom fields > type Date.

TagsNo tags attached.
Attached Files
mantis_date_filter_error.jpg (28,754 bytes)   
mantis_date_filter_error.jpg (28,754 bytes)   

Relationships

parent of 0007038 closedvboctor Port: SYSTEM WARNING: Argument 1 to array_multisort() is expected to be an array or a sort flag 

Activities

chillax

chillax

2006-04-27 13:26

developer   ~0012743

./core/filter_api.php:2973

REPLACE

array_multisort($t_accessible_custom_fields_values[$p_field_num], SORT_NUMERIC, SORT_ASC) ;

WITH THIS

if (is_array($t_accessible_custom_fields_values[$p_field_num]))
{
array_multisort($t_accessible_custom_fields_values[$p_field_num], SORT_NUMERIC, SORT_ASC) ;
}

What populates $t_accessible_custom_fields_values[$p_field_num]?

Elmar

Elmar

2006-04-28 03:57

reporter   ~0012749

Thank you very much. That solved the problem. This should go into the main source code, shouldn´t it?

Thanks again,
Elmar